diff options
Diffstat (limited to 'crt')
-rw-r--r-- | crt/crt1.c | 2 | ||||
-rw-r--r-- | crt/rcrt1.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crt/crt1.c b/crt/crt1.c index 7b12665f..8fe8ab5d 100644 --- a/crt/crt1.c +++ b/crt/crt1.c @@ -8,7 +8,7 @@ int main(); weak void _init(); weak void _fini(); -_Noreturn int __libc_start_main(int (*)(), int, char **, +int __libc_start_main(int (*)(), int, char **, void (*)(), void(*)(), void(*)()); void _start_c(long *p) diff --git a/crt/rcrt1.c b/crt/rcrt1.c index 7bb3322f..901dff68 100644 --- a/crt/rcrt1.c +++ b/crt/rcrt1.c @@ -5,10 +5,10 @@ int main(); weak void _init(); weak void _fini(); -_Noreturn int __libc_start_main(int (*)(), int, char **, +int __libc_start_main(int (*)(), int, char **, void (*)(), void(*)(), void(*)()); -hidden _Noreturn void __dls2(unsigned char *base, size_t *sp) +hidden void __dls2(unsigned char *base, size_t *sp) { __libc_start_main(main, *sp, (void *)(sp+1), _init, _fini, 0); } |