From 59910343fc16d7b9677a780d8f362316c2b19c93 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 17 May 2012 22:00:57 +0200 Subject: [PATCH] Fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: tst-relsort1.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] --- ChangeLog | 5 +++++ elf/tst-relsort1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.7.4