From: Andreas Jaeger Date: Thu, 17 May 2012 20:00:57 +0000 (+0200) Subject: Fix warning X-Git-Tag: glibc-2.16-tps~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59910343fc16d7b9677a780d8f362316c2b19c93;p=platform%2Fupstream%2Fglibc.git Fix warning Fixes: tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] --- diff --git a/ChangeLog b/ChangeLog index 793bc73..d360f1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-17 Andreas Jaeger + + * elf/tst-relsort1.c (do_test): Fix function declaration to avoid + warning. + 2012-05-17 H.J. Lu * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long. diff --git a/elf/tst-relsort1.c b/elf/tst-relsort1.c index 972100c..a87b138 100644 --- a/elf/tst-relsort1.c +++ b/elf/tst-relsort1.c @@ -3,7 +3,7 @@ static int -do_test () +do_test (void) { const char lib[] = "$ORIGIN/tst-relsort1mod1.so"; void *h = dlopen (lib, RTLD_NOW);