(foo): Add prototype to avoid warning.

This commit is contained in:
Andreas Jaeger 2002-08-23 08:52:49 +00:00
parent 8ddcb7da59
commit a7f5255ad2
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}