Browse Source

- __td_debug is only needed if NDEBUG is not defined.

Bernhard Reutner-Fischer 19 years ago
parent
commit
ba04ff722d

+ 2 - 1
libpthread/linuxthreads.old_db/td_init.c

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

+ 2 - 1
libpthread/linuxthreads_db/td_init.c

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