public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Fix digsig so it passes -Wshadow
@ 2009-07-31  6:33 Garrett Cooper
  2009-07-31  7:43 ` Garrett Cooper
  2009-07-31 14:35 ` Serge E. Hallyn
  0 siblings, 2 replies; 8+ messages in thread
From: Garrett Cooper @ 2009-07-31  6:33 UTC (permalink / raw)
  To: LTP list

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 <yanegomi@gmail.com>

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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-08-13  7:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31  6:33 [LTP] Fix digsig so it passes -Wshadow Garrett Cooper
2009-07-31  7:43 ` Garrett Cooper
2009-07-31 14:36   ` Serge E. Hallyn
2009-08-03 11:20     ` Subrata Modak
2009-08-03 14:17       ` Serge E. Hallyn
2009-08-04 12:08         ` Subrata Modak
2009-07-31 14:35 ` Serge E. Hallyn
2009-08-13  7:24   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox