bits/stdio-lock.h
Greg Schafer <[email protected]> Tue, 28 Oct 2003 14:21:53 +1100
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
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
header.diff
(text/plain, 337 B)
--- 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. */