summaryrefslogtreecommitdiff
path: root/source4/build/tests/fcntl_lock64.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/tests/fcntl_lock64.c')
-rw-r--r--source4/build/tests/fcntl_lock64.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/build/tests/fcntl_lock64.c b/source4/build/tests/fcntl_lock64.c
index e5ecd88fd0..913580cd24 100644
--- a/source4/build/tests/fcntl_lock64.c
+++ b/source4/build/tests/fcntl_lock64.c
@@ -18,15 +18,6 @@
#include <errno.h>
-static int sys_waitpid(pid_t pid,int *status,int options)
-{
-#ifdef HAVE_WAITPID
- return waitpid(pid,status,options);
-#else /* USE_WAITPID */
- return wait4(pid, status, options, NULL);
-#endif /* USE_WAITPID */
-}
-
#define DATA "conftest.fcntl64"
/* lock a byte range in a open file */