summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/debug.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:54:52 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-12-16 04:54:52 +0000
commit7dfaf230d2191da71f3078943ea09d014298e7b0 (patch)
tree11b16e846adf904f804b8ce15937db12d08259d8 /libpthread/linuxthreads.old/debug.h
parent1bcf527f5f8c94aac1b2e80b585898a7266293af (diff)
downloaduClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.bz2
uClibc-alpine-7dfaf230d2191da71f3078943ea09d014298e7b0.tar.xz
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads.old/debug.h')
-rw-r--r--libpthread/linuxthreads.old/debug.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libpthread/linuxthreads.old/debug.h b/libpthread/linuxthreads.old/debug.h
index a2ac5113a..94b7c084b 100644
--- a/libpthread/linuxthreads.old/debug.h
+++ b/libpthread/linuxthreads.old/debug.h
@@ -29,9 +29,6 @@
# define DEBUG_PT
#endif
-/* include asserts for now */
-#define DO_ASSERT
-
/* define the PDEBUG macro here */
#undef PDEBUG
#ifdef DEBUG_PT
@@ -40,17 +37,4 @@
# define PDEBUG(fmt, args...) /* debug switched off */
#endif
-/* nothing; placeholder to disable a PDEBUG message but don't delete it */
-#undef PDEBUGG
-#define PDEBUGG(fmt, args...)
-
-/* Define ASSERT to stop/warn. Should be void in production code */
-#undef ASSERT
-#ifdef DO_ASSERT
-# define ASSERT(x) if (!(x)) fprintf(stderr, "pt: assertion failed in %s:%i.\n",\
- __FILE__, __LINE__)
-#else
-# define ASSERT(x)
-#endif
-
#endif /* _PT_DEBUG_H */