From: Alan Modra Date: Mon, 6 Nov 2000 10:07:06 +0000 (+0000) Subject: Fix compilation warnings as otherwise we fail the test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1566ad5dd382ebbfa31b803590b1a7376cff7b1c;p=binutils-gdb.git Fix compilation warnings as otherwise we fail the test. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 893b82548a4..36b62251578 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2000-11-06 Alan Modra + + * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h. + (main): Prune unused args. + 2000-10-29 Hans-Peter Nilsson * ld-selective/selective.exp : Fix typo for argument to diff --git a/ld/testsuite/ld-elfvsb/main.c b/ld/testsuite/ld-elfvsb/main.c index a00b70feddb..26542b8a1fc 100644 --- a/ld/testsuite/ld-elfvsb/main.c +++ b/ld/testsuite/ld-elfvsb/main.c @@ -1,10 +1,9 @@ #ifdef PROTECTED_CHECK #include +#include int -main (argc, argv) - int argc; - char *argv[]; +main (void) { #if defined (__GLIBC__) && (__GLIBC__ > 2 \ || (__GLIBC__ == 2 \