diff options
Diffstat (limited to 'source4/build/tests')
-rw-r--r-- | source4/build/tests/fcntl_lock.c | 9 | ||||
-rw-r--r-- | source4/build/tests/fcntl_lock64.c | 9 |
2 files changed, 0 insertions, 18 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 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 */ |