This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Commit]


Hi Guys,

  I am checking in this small patch to fix the return type of the
  function bar in the x86_64 pr19874 test.  This was showing up as a
  warning message in the test logs and has been bugging me for ages.

Cheers
  Nick

ld/ChangeLog
2017-10-09  Nick Clifton  <nickc@redhat.com>

	PR ld/19874
	* testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.

diff --git a/ld/testsuite/ld-x86-64/pr19784c.c b/ld/testsuite/ld-x86-64/pr19784c.c
index 117dfec120..eb2c9d0c2a 100644
--- a/ld/testsuite/ld-x86-64/pr19784c.c
+++ b/ld/testsuite/ld-x86-64/pr19784c.c
@@ -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 ();


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]