From f20f1f994ac375ab96cc8a38075b99aa20041b3f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2004 23:37:12 +0000 Subject: 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 (This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a) --- source4/build/tests/fcntl_lock64.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source4/build/tests/fcntl_lock64.c') 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 -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 */ -- cgit