Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
(foo): Add prototype to avoid warning.
  • Loading branch information
Andreas Jaeger committed Aug 23, 2002
1 parent 8ddcb7d commit a7f5255
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dlfcn/bug-dlsym1-lib1.c
Expand Up @@ -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;
}

0 comments on commit a7f5255

Please sign in to comment.