summaryrefslogtreecommitdiff
path: root/source4/build/tests/fcntl_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/tests/fcntl_lock.c')
-rw-r--r--source4/build/tests/fcntl_lock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source4/build/tests/fcntl_lock.c b/source4/build/tests/fcntl_lock.c
index 3dc12a3897..089c3c8424 100644
--- a/source4/build/tests/fcntl_lock.c
+++ b/source4/build/tests/fcntl_lock.c
@@ -22,15 +22,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.fcntl"
#ifndef SEEK_SET