mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 01:33:36 +08: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 char foo (void);
|
||||
|
||||
/* here to get the unresolved symbol in our .so */
|
||||
char foo()
|
||||
char foo(void)
|
||||
{
|
||||
return dlopen_test_variable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user