aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-11-06 10:07:06 +0000
committerAlan Modra <amodra@gmail.com>2000-11-06 10:07:06 +0000
commit1566ad5dd382ebbfa31b803590b1a7376cff7b1c (patch)
tree28c8ab1e1061a9897d48a7dfcd0d76788bdceb40 /ld/testsuite/ld-elfvsb
parent5af20574b3f4b4a79edbd9b87b0c8cc7027fad9f (diff)
downloadgdb-1566ad5dd382ebbfa31b803590b1a7376cff7b1c.zip
gdb-1566ad5dd382ebbfa31b803590b1a7376cff7b1c.tar.gz
gdb-1566ad5dd382ebbfa31b803590b1a7376cff7b1c.tar.bz2
Fix compilation warnings as otherwise we fail the test.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elfvsb/main.c b/ld/testsuite/ld-elfvsb/main.c
index a00b70f..26542b8 100644
--- a/ld/testsuite/ld-elfvsb/main.c
+++ b/ld/testsuite/ld-elfvsb/main.c
@@ -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 \