aboutsummaryrefslogtreecommitdiff
path: root/elf/constload2.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-01-21 17:15:50 +0000
committerAndreas Jaeger <aj@suse.de>2001-01-21 17:15:50 +0000
commit59b139cb9c174dd861dd7184a0772bfb458549e6 (patch)
tree2d1da28f6f7daa6e438fb6be4010a025287efc7e /elf/constload2.c
parentd17c01f9fe958d9d78739d3bf7111f2c01690d0d (diff)
downloadglibc-59b139cb9c174dd861dd7184a0772bfb458549e6.zip
glibc-59b139cb9c174dd861dd7184a0772bfb458549e6.tar.gz
glibc-59b139cb9c174dd861dd7184a0772bfb458549e6.tar.bz2
Add prototype for init.
Diffstat (limited to 'elf/constload2.c')
-rw-r--r--elf/constload2.c2
1 files changed, 2 insertions, 0 deletions
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)