Fix warning

Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
This commit is contained in:
Andreas Jaeger 2012-05-17 22:00:57 +02:00
parent 2e4c1e9edb
commit 59910343fc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-05-17 Andreas Jaeger <aj@suse.de>
* elf/tst-relsort1.c (do_test): Fix function declaration to avoid
warning.
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.

View File

@ -3,7 +3,7 @@
static int
do_test ()
do_test (void)
{
const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
void *h = dlopen (lib, RTLD_NOW);