about summary refs log tree commit diff
path: root/crt/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'crt/crt1.c')
-rw-r--r--crt/crt1.c5
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(*)());