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.
This commit is contained in:
Nick Clifton 2017-10-09 15:00:31 +01:00
parent e61933afce
commit 6753e38a5c
2 changed files with 6 additions and 1 deletions

View 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

View 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 ();