[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
bits/stdio-lock.h
- From: Greg Schafer <gschafer zip com au>
- To: phil-list redhat com
- Subject: bits/stdio-lock.h
- Date: Tue, 28 Oct 2003 14:21:53 +1100
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]