summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/debug.h
diff options
context:
space:
mode:
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 */