aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/i386/fcntl.c2
-rw-r--r--sysdeps/unix/sysv/linux/wait.c2
-rw-r--r--sysdeps/unix/sysv/linux/waitpid.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c
index bd174fe809..c316769eba 100644
--- a/sysdeps/unix/sysv/linux/i386/fcntl.c
+++ b/sysdeps/unix/sysv/linux/i386/fcntl.c
@@ -36,7 +36,7 @@ int __have_no_fcntl64;
static int
-do_fcntl (int fd, int cmd, ...)
+do_fcntl (int fd, int cmd, void *arg)
{
# ifdef __NR_fcntl64
if (! __have_no_fcntl64)
diff --git a/sysdeps/unix/sysv/linux/wait.c b/sysdeps/unix/sysv/linux/wait.c
index f01d75cc38..3e39ad4bf1 100644
--- a/sysdeps/unix/sysv/linux/wait.c
+++ b/sysdeps/unix/sysv/linux/wait.c
@@ -21,8 +21,6 @@
#include <sys/resource.h>
#include <stddef.h>
#include <sysdep-cancel.h>
-#include <nptl/pthreadP.h>
-#include <tls.h>
/* Wait for a child to die. When one does, put its status in *STAT_LOC
and return its process ID. For errors, return (pid_t) -1. */
diff --git a/sysdeps/unix/sysv/linux/waitpid.c b/sysdeps/unix/sysv/linux/waitpid.c
index 275fb826b4..2b4e7b37d4 100644
--- a/sysdeps/unix/sysv/linux/waitpid.c
+++ b/sysdeps/unix/sysv/linux/waitpid.c
@@ -20,8 +20,6 @@
#include <sysdep-cancel.h>
#include <stdlib.h>
#include <sys/wait.h>
-#include <nptl/pthreadP.h>
-#include <tls.h>
__pid_t
__libc_waitpid (__pid_t pid, int *stat_loc, int options)