diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 23:37:12 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2004-11-01 23:37:12 +0000 |
commit | efeab39f4c367ce84eaa7758a9a315c64ba25e44 (patch) | |
tree | d3f2b06aa222514398342c5e74ec0531bd8af459 /source/build/tests | |
parent | 4bcf595f93ff2584e5c0d9f1b57c8ad496a9d612 (diff) | |
download | samba-efeab39f4c367ce84eaa7758a9a315c64ba25e44.tar.gz samba-efeab39f4c367ce84eaa7758a9a315c64ba25e44.tar.xz samba-efeab39f4c367ce84eaa7758a9a315c64ba25e44.zip |
r3445: made the gtk tooks use minimal includes. This approximately halves the
total include lines in compiling C files in Samba (the .gch file is
now 5M instead of 12M)
This also gets rid of the silly gtk compile warning for non-gtk code
Diffstat (limited to 'source/build/tests')
-rw-r--r-- | source/build/tests/fcntl_lock.c | 9 | ||||
-rw-r--r-- | source/build/tests/fcntl_lock64.c | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/source/build/tests/fcntl_lock.c b/source/build/tests/fcntl_lock.c index 3dc12a38973..089c3c84241 100644 --- a/source/build/tests/fcntl_lock.c +++ b/source/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/source/build/tests/fcntl_lock64.c b/source/build/tests/fcntl_lock64.c index e5ecd88fd04..913580cd241 100644 --- a/source/build/tests/fcntl_lock64.c +++ b/source/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 */ |