summaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/failtest.c2
-rw-r--r--dlfcn/glrefmain.c2
-rw-r--r--dlfcn/tst-dladdr.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/dlfcn/failtest.c b/dlfcn/failtest.c
index 50bbf10596..e0ac4ef638 100644
--- a/dlfcn/failtest.c
+++ b/dlfcn/failtest.c
@@ -52,6 +52,8 @@ main (void)
}
+extern void foo (void);
+
void
foo (void)
{
diff --git a/dlfcn/glrefmain.c b/dlfcn/glrefmain.c
index efb080a261..38408c227a 100644
--- a/dlfcn/glrefmain.c
+++ b/dlfcn/glrefmain.c
@@ -35,6 +35,8 @@ load (const char *name)
#define TEST_FUNCTION do_test ()
+extern int do_test (void);
+
int
do_test (void)
{
diff --git a/dlfcn/tst-dladdr.c b/dlfcn/tst-dladdr.c
index 5493a15112..fb666ef889 100644
--- a/dlfcn/tst-dladdr.c
+++ b/dlfcn/tst-dladdr.c
@@ -26,6 +26,7 @@
#define TEST_FUNCTION do_test ()
+extern int do_test (void);
int
do_test (void)