]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix compilation warnings as otherwise we fail the test.
authorAlan Modra <amodra@gmail.com>
Mon, 6 Nov 2000 10:08:03 +0000 (10:08 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Nov 2000 10:08:03 +0000 (10:08 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/main.c

index 3420d9912c0c377d565df0ccf9d833743a757e33..d350d66dec8e1c77978ae76394b7e20214b0decb 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-06  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h.
+       (main): Prune unused args.
+
 2000-10-17  Philip Blundell  <pb@futuretv.com>
 
        * lib/ld-lib.exp, ld-elfvsb: Update from trunk version.
index a00b70feddb1505d08e5318e5052f101e0414700..26542b8a1fcf3aeb5d12afcac1a37dbfd5cbbe02 100644 (file)
@@ -1,10 +1,9 @@
 #ifdef PROTECTED_CHECK
 #include <features.h>
+#include <stdio.h>
 
 int
-main (argc, argv)
-  int argc;
-  char *argv[];
+main (void)
 {
 #if defined (__GLIBC__) && (__GLIBC__ > 2 \
                            || (__GLIBC__ == 2 \