Fix warning
authorAndreas Jaeger <aj@suse.de>
Thu, 17 May 2012 20:00:57 +0000 (22:00 +0200)
committerAndreas Jaeger <aj@suse.de>
Thu, 17 May 2012 20:00:57 +0000 (22:00 +0200)
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]

ChangeLog
elf/tst-relsort1.c

index 793bc73..d360f1b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 972100c..a87b138 100644 (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);