From 59b139cb9c174dd861dd7184a0772bfb458549e6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 21 Jan 2001 17:15:50 +0000 Subject: Add prototype for init. --- elf/constload2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf/constload2.c') diff --git a/elf/constload2.c b/elf/constload2.c index b665036..bf1bf18 100644 --- a/elf/constload2.c +++ b/elf/constload2.c @@ -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) -- cgit v1.1