On Thu, Jul 30, 2009 at 11:33 PM, Garrett Cooper<[email protected]> wrote:
> 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;

Instead of this, let me do a general purpose `fix' for digsig. There
are a few other issues that need to be resolved.
-Garrett

------------------------------------------------------------------------------
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

Reply via email to