(foo): Add prototype to avoid warning.
This commit is contained in:
parent
8ddcb7da59
commit
a7f5255ad2
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
extern int dlopen_test_variable;
|
extern int dlopen_test_variable;
|
||||||
|
|
||||||
|
extern char foo (void);
|
||||||
|
|
||||||
/* here to get the unresolved symbol in our .so */
|
/* here to get the unresolved symbol in our .so */
|
||||||
char foo()
|
char foo(void)
|
||||||
{
|
{
|
||||||
return dlopen_test_variable;
|
return dlopen_test_variable;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue