Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add prototype for init.
  • Loading branch information
Andreas Jaeger committed Jan 21, 2001
1 parent d17c01f commit 59b139c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elf/constload2.c
Expand Up @@ -5,6 +5,7 @@
extern int bar (void);
extern int baz (void);
extern int foo (void);
extern void __attribute__ ((__constructor__)) init (void);

void *h;

Expand All @@ -20,6 +21,7 @@ baz (void)
return -21;
}


void
__attribute__ ((__constructor__))
init (void)
Expand Down

0 comments on commit 59b139c

Please sign in to comment.