[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

bits/stdio-lock.h



Hi

The "bits/stdio-lock.h" installed header currently does this:

#include <bits/libc-lock.h>
#include <lowlevellock.h>

AFAICT, the include of lowlevellock.h is not required, and in fact breaks
compilation of some apps, due to lowlevellock.h not being installed.

bits/libc-lock.h currently does:

#ifdef _LIBC
# include <lowlevellock.h>
# include <tls.h>
# include <pthread-functions.h>
#endif

so this should be confirmation that the include of lowlevellock.h is not
needed in the bits/stdio-lock.h header.

Trivial fix attached.

Thanks
Greg
--- nptl/sysdeps/pthread/bits/stdio-lock.h.gws	2003-09-01 06:33:11.000000000 +1000
+++ nptl/sysdeps/pthread/bits/stdio-lock.h	2003-10-28 12:46:50.329187048 +1100
@@ -21,7 +21,6 @@
 #define _BITS_STDIO_LOCK_H 1
 
 #include <bits/libc-lock.h>
-#include <lowlevellock.h>
 
 
 /* The locking here is very inexpensive, even for inlining.  */

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]