Fix compile time warning message when running the PR19874 linker test.
authorNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2017 14:00:31 +0000 (15:00 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2017 14:00:31 +0000 (15:00 +0100)
PR ld/19874
* testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.

ld/ChangeLog
ld/testsuite/ld-x86-64/pr19784c.c

index 18d4b1e04787edc3c3f9c13899ff08a5cccd46e2..e7d71285f90328657bc04744b0b05f9c872ed4f8 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-09  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/19874
+       * testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.
+
 2017-10-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/22267
index 117dfec12028448cd6189569d6d9b6eaf57cbb3b..eb2c9d0c2afb08b01a6527d43b203639829b131c 100644 (file)
@@ -3,7 +3,7 @@
 extern void abort (void);
 extern int foo (int) __attribute__ ((visibility("hidden")));
 
-int bar()
+void bar(void)
 {
   if (foo (5) != 5)
     abort ();