about summary refs log tree commit diff
path: root/dlfcn
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 19:58:36 +0000
commited073f0e6249dc1bcecb3f72fa941d01b516be3f (patch)
tree8dfe5133dfe2d1516103f7f46cca1ff44bdb4f01 /dlfcn
parent27ee0a559513db0d0e650761b6f4268b39199c74 (diff)
downloadglibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.gz
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.xz
glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.zip
Add prototype for foo.
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)