diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-03 18:55:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-03 18:55:00 +0000 |
commit | 36860e64dbe0a6d294ec3b1430e7926ea0ed2fd5 (patch) | |
tree | eb735d028db1812ed6da4a08030327ef89838c9a /libpthread/linuxthreads.old/debug.h | |
parent | 48f4134968efb0bc31dad98e4f1bb4656eb1d817 (diff) |
remove duplicated/unused ASSERT code
Diffstat (limited to 'libpthread/linuxthreads.old/debug.h')
-rw-r--r-- | libpthread/linuxthreads.old/debug.h | 16 |
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 */ |