mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 01:33:36 +08:00
Add prototype for init.
This commit is contained in:
parent
d17c01f9fe
commit
59b139cb9c
@ -5,6 +5,7 @@
|
||||
extern int bar (void);
|
||||
extern int baz (void);
|
||||
extern int foo (void);
|
||||
extern void __attribute__ ((__constructor__)) init (void);
|
||||
|
||||
void *h;
|
||||
|
||||
@ -20,6 +21,7 @@ baz (void)
|
||||
return -21;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
__attribute__ ((__constructor__))
|
||||
init (void)
|
||||
|
Loading…
Reference in New Issue
Block a user