From: Alan Modra Date: Mon, 6 Nov 2000 10:08:03 +0000 (+0000) Subject: Fix compilation warnings as otherwise we fail the test. X-Git-Tag: binutils-2_10_1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfef140a12e04362844301e9a4581414437d73d6;p=thirdparty%2Fbinutils-gdb.git Fix compilation warnings as otherwise we fail the test. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 3420d9912c0..d350d66dec8 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-17 Philip Blundell * lib/ld-lib.exp, ld-elfvsb: Update from trunk version. 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 \