From a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 23 Aug 2002 08:52:49 +0000 Subject: (foo): Add prototype to avoid warning. --- dlfcn/bug-dlsym1-lib1.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dlfcn') diff --git a/dlfcn/bug-dlsym1-lib1.c b/dlfcn/bug-dlsym1-lib1.c index 5435b1f5ce..4eca2519fb 100644 --- a/dlfcn/bug-dlsym1-lib1.c +++ b/dlfcn/bug-dlsym1-lib1.c @@ -2,8 +2,10 @@ extern int dlopen_test_variable; +extern char foo (void); + /* here to get the unresolved symbol in our .so */ -char foo() +char foo(void) { return dlopen_test_variable; } -- cgit 1.4.1