diff options
author | Nick Clifton <nickc@redhat.com> | 2017-10-09 15:00:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-10-09 15:00:31 +0100 |
commit | 6753e38a5c71b4b4ae81bba41fb67890abfa4e0f (patch) | |
tree | 8b26b2e18ff4e5e602721a6ce771a69db496107c /ld/testsuite/ld-x86-64 | |
parent | e61933afce961c4b23c5e173b4b8f46b949bef30 (diff) | |
download | gdb-6753e38a5c71b4b4ae81bba41fb67890abfa4e0f.zip gdb-6753e38a5c71b4b4ae81bba41fb67890abfa4e0f.tar.gz gdb-6753e38a5c71b4b4ae81bba41fb67890abfa4e0f.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-x86-64')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr19784c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/pr19784c.c b/ld/testsuite/ld-x86-64/pr19784c.c index 117dfec..eb2c9d0 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 (); |