aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers2.c
diff options
context:
space:
mode:
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()