about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);