diff options
Diffstat (limited to 'crt/crt1.c')
-rw-r--r-- | crt/crt1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crt/crt1.c b/crt/crt1.c index af02af94..7b12665f 100644 --- a/crt/crt1.c +++ b/crt/crt1.c @@ -1,12 +1,13 @@ #include <features.h> +#include "libc.h" #define START "_start" #include "crt_arch.h" int main(); -void _init() __attribute__((weak)); -void _fini() __attribute__((weak)); +weak void _init(); +weak void _fini(); _Noreturn int __libc_start_main(int (*)(), int, char **, void (*)(), void(*)(), void(*)()); |