diff options
author | Andreas Jaeger <aj@suse.de> | 2002-08-23 08:52:49 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-08-23 08:52:49 +0000 |
commit | a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc (patch) | |
tree | 735b5a895f3ac26cf699a80df6e6d2293dabf478 /dlfcn | |
parent | 8ddcb7da59246325024dd6c2c26c307e289eff56 (diff) | |
download | glibc-a7f5255ad25b5b7b637e3f2c1a648da2df0f1efc.tar.gz |
(foo): Add prototype to avoid warning.
Diffstat (limited to 'dlfcn')
-rw-r--r-- | dlfcn/bug-dlsym1-lib1.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |