diff options
Diffstat (limited to 'elf/order.c')
-rw-r--r-- | elf/order.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/order.c b/elf/order.c index 4544591c50..ca617cbc09 100644 --- a/elf/order.c +++ b/elf/order.c @@ -1,5 +1,6 @@ #include <unistd.h> +void init (void) __attribute__ ((constructor)); void __attribute__ ((constructor)) init (void) @@ -7,6 +8,7 @@ init (void) write (1, "4", 1); } +void fini (void) __attribute__ ((destructor)); void __attribute__ ((destructor)) fini (void) |