aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers2.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/vers2.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/vers2.c')
-rw-r--r--ld/testsuite/ld-elfvers/vers2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers2.c b/ld/testsuite/ld-elfvers/vers2.c
index d6a537e..eda54cb 100644
--- a/ld/testsuite/ld-elfvers/vers2.c
+++ b/ld/testsuite/ld-elfvers/vers2.c
@@ -2,6 +2,9 @@
* Test function. This is built into a shared library, and references a
* versioned symbol foo that is in test.so.
*/
+#include <stdio.h>
+
+extern int show_foo ();
void
show_xyzzy()