From ed073f0e6249dc1bcecb3f72fa941d01b516be3f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 27 Dec 2000 19:58:36 +0000 Subject: Add prototype for foo. --- dlfcn/failtest.c | 2 ++ dlfcn/glrefmain.c | 2 ++ dlfcn/tst-dladdr.c | 1 + 3 files changed, 5 insertions(+) (limited to 'dlfcn') diff --git a/dlfcn/failtest.c b/dlfcn/failtest.c index 50bbf10..e0ac4ef 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 efb080a..38408c2 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 5493a15..fb666ef 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) -- cgit v1.1