From 1566ad5dd382ebbfa31b803590b1a7376cff7b1c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 6 Nov 2000 10:07:06 +0000 Subject: [PATCH] Fix compilation warnings as otherwise we fail the test. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-elfvsb/main.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 \ -- 2.30.2