mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
(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
Block a user