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