clone(2) is externally defined in sched.h, and as such testcases/kernel/security/digsig/writeexec/libwritetest.c fails to compile with -Wall due to a shadowed declaration.
Signed-off-by: Garrett Cooper <[email protected]> Index: writeexec/libwritetest.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/security/digsig/writeexec/libwritetest.c,v retrieving revision 1.1 diff -u -r1.1 libwritetest.c --- writeexec/libwritetest.c 1 Nov 2005 16:09:43 -0000 1.1 +++ writeexec/libwritetest.c 31 Jul 2009 06:30:49 -0000 @@ -9,8 +9,6 @@ #include <dlfcn.h> #include <wait.h> -int clone(int (*fn)(void *), void *child_stack, int flags, void *arg); - int writer(void *data) { int fd; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
