mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
htl: Fix includes for lockfile
These only need exactly to use __libc_ptf_call. * sysdeps/htl/flockfile.c: Include <libc-lockP.h> instead of <libc-lock.h> * sysdeps/htl/ftrylockfile.c: Include <libc-lockP.h> instead of <errno.h>, <pthread.h>, <stdio-lock.h> * sysdeps/htl/funlockfile.c: Include <libc-lockP.h> instead of <pthread.h> and <stdio-lock.h>
This commit is contained in:
parent
726117e01b
commit
cf2c8cc2c6
@ -17,7 +17,7 @@
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <libc-lock.h>
|
||||
#include <libc-lockP.h>
|
||||
|
||||
|
||||
void
|
||||
|
@ -16,10 +16,8 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdio-lock.h>
|
||||
#include <libc-lockP.h>
|
||||
|
||||
|
||||
int
|
||||
|
@ -16,9 +16,8 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdio-lock.h>
|
||||
#include <libc-lockP.h>
|
||||
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user