summary refs log tree commit diff
path: root/dlfcn
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/modatexit.c3
-rw-r--r--dlfcn/modcxaatexit.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/dlfcn/modatexit.c b/dlfcn/modatexit.c
index 110feadad8..1a91f3750b 100644
--- a/dlfcn/modatexit.c
+++ b/dlfcn/modatexit.c
@@ -22,6 +22,9 @@
 int global;
 int *ip;
 
+extern void dummy (void);
+extern void foo (void *p);
+
 void
 dummy (void)
 {
diff --git a/dlfcn/modcxaatexit.c b/dlfcn/modcxaatexit.c
index 1ff2d57ecc..ddd40e1ce7 100644
--- a/dlfcn/modcxaatexit.c
+++ b/dlfcn/modcxaatexit.c
@@ -19,8 +19,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-int global;
+extern void fluffy (void *p);
+extern void bar (void *p);
 
+int global;
 
 void
 fluffy (void *p)