aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers6.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-22 00:40:34 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-22 00:40:34 +0000
commit0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1 (patch)
treec451c97e8a8b6fa2dc3f84add0abe78ad5d10df4 /ld/testsuite/ld-elfvers/vers6.c
parent75987f837d86a482443aab3c68a8b84afc600ce5 (diff)
downloadgdb-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.zip
gdb-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.tar.gz
gdb-0cd9f5f03ba1fc0a5ce4a87fd9a1ed821eaa81c1.tar.bz2
1999-07-21 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers1.c: Add missing prototypes and include <stdio.h> if necessary. * ld-elfvers/vers15.c: Likewise. * ld-elfvers/vers19.c: Likewise. * ld-elfvers/vers2.c: Likewise. * ld-elfvers/vers3.c: Likewise. * ld-elfvers/vers4.c: Likewise. * ld-elfvers/vers6.c: Likewise. * ld-elfvers/vers7.c: Likewise. * ld-elfvers/vers9.c: Likewise. * ld-shared/main.c: Likewise. * ld-srec/sr3.cc (Foo::Foo): Remove arg name.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers6.c')
-rw-r--r--ld/testsuite/ld-elfvers/vers6.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers6.c b/ld/testsuite/ld-elfvers/vers6.c
index b5868bf..9e48df9 100644
--- a/ld/testsuite/ld-elfvers/vers6.c
+++ b/ld/testsuite/ld-elfvers/vers6.c
@@ -2,6 +2,12 @@
* Testcase to make sure that if we externally reference a versioned symbol
* that we always get the right one.
*/
+#include <stdio.h>
+
+extern int foo_1();
+extern int foo_2();
+extern int foo_3();
+extern int foo_4();
int
main()