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:
Samuel Thibault 2020-06-27 12:20:24 +00:00
parent 726117e01b
commit cf2c8cc2c6
3 changed files with 3 additions and 6 deletions

View File

@ -17,7 +17,7 @@
<https://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <libc-lock.h>
#include <libc-lockP.h>
void

View File

@ -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

View File

@ -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