This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] Fix compilation warnings in some NPTL tests.
- From: David Miller <davem at davemloft dot net>
- To: roland at hack dot frob dot com
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 25 Oct 2012 19:41:17 -0400 (EDT)
- Subject: Re: [COMMITTED PATCH] Fix compilation warnings in some NPTL tests.
- References: <20121025225927.2101B2C08D@topped-with-meat.com>
From: Roland McGrath <roland@hack.frob.com>
Date: Thu, 25 Oct 2012 15:59:27 -0700 (PDT)
> diff --git a/nptl/tst-cond-except.c b/nptl/tst-cond-except.c
> index b9871ba..be9c4ef 100644
> --- a/nptl/tst-cond-except.c
> +++ b/nptl/tst-cond-except.c
...
> int
> -do_test ()
> +do_test (void)
This breaks the build, please test your changes.
The default definition of TEST_FUNCTION is "do_test(argc, argv)"