Add prototype for init.

This commit is contained in:
Andreas Jaeger 2001-01-21 17:15:50 +00:00
parent d17c01f9fe
commit 59b139cb9c

View File

@ -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)