OSDN Git Service

- __td_debug is only needed if NDEBUG is not defined.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Jan 2006 08:51:48 +0000 (08:51 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 23 Jan 2006 08:51:48 +0000 (08:51 -0000)
libpthread/linuxthreads.old_db/td_init.c
libpthread/linuxthreads_db/td_init.c

index d714f1b..6f0e158 100644 (file)
@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)
index d714f1b..6f0e158 100644 (file)
@@ -20,8 +20,9 @@
 
 #include "thread_dbP.h"
 
+#ifndef NDEBUG
 int __td_debug;
-
+#endif
 
 td_err_e
 td_init (void)