aboutsummaryrefslogtreecommitdiff
path: root/dlfcn
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-08-23 08:52:49 +0000
committerAndreas Jaeger <aj@suse.de>2002-08-23 08:52:49 +0000
commita7f5255ad25b5b7b637e3f2c1a648da2df0f1efc (patch)
tree735b5a895f3ac26cf699a80df6e6d2293dabf478 /dlfcn
parent8ddcb7da59246325024dd6c2c26c307e289eff56 (diff)
downloadglibc-a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc.zip
glibc-a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc.tar.gz
glibc-a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc.tar.bz2
(foo): Add prototype to avoid warning.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/bug-dlsym1-lib1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dlfcn/bug-dlsym1-lib1.c b/dlfcn/bug-dlsym1-lib1.c
index 5435b1f..4eca251 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;
}