about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-17 22:00:57 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-17 22:00:57 +0200
commit59910343fc16d7b9677a780d8f362316c2b19c93 (patch)
tree2c6b26df82e363822d5ec1d538822d049fc71636
parent2e4c1e9edb2a0f25a4d8de961dd4b7518c88bc54 (diff)
downloadglibc-59910343fc16d7b9677a780d8f362316c2b19c93.tar.gz
glibc-59910343fc16d7b9677a780d8f362316c2b19c93.tar.xz
glibc-59910343fc16d7b9677a780d8f362316c2b19c93.zip
Fix warning
Fixes:
tst-relsort1.c:6:1: warning: function declaration isn’t a prototype
[-Wstrict-prototypes]
-rw-r--r--ChangeLog5
-rw-r--r--elf/tst-relsort1.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 793bc73e71..d360f1b02d 100644
--- 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.
diff --git a/elf/tst-relsort1.c b/elf/tst-relsort1.c
index 972100c0e9..a87b138280 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);