diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 893b82548a..36b6225157 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 a00b70fedd..26542b8a1f 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 \