From: Nick Clifton Date: Mon, 9 Oct 2017 14:00:31 +0000 (+0100) Subject: Fix compile time warning message when running the PR19874 linker test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6753e38a5c71b4b4ae81bba41fb67890abfa4e0f;p=binutils-gdb.git Fix compile time warning message when running the PR19874 linker test. PR ld/19874 * testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 18d4b1e0478..e7d71285f90 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2017-10-09 Nick Clifton + + PR ld/19874 + * testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void. + 2017-10-09 H.J. Lu PR ld/22267 diff --git a/ld/testsuite/ld-x86-64/pr19784c.c b/ld/testsuite/ld-x86-64/pr19784c.c index 117dfec1202..eb2c9d0c2af 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 ();