summaryrefslogtreecommitdiff
path: root/os/src/init.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
committerPixel <pixel@nobis-crew.org>2011-01-28 00:35:56 -0800
commitc8a010ba85e8325fdbf7468ef49744ff1f09f213 (patch)
treeaf7ef6d67d0cf47faef0c8bc339aeb75cedc139d /os/src/init.c
parentf3906ecc2cacaf75efa1e54f453ff723cddd3d66 (diff)
Adding a few more 'syscalls' to our libc.
Diffstat (limited to 'os/src/init.c')
-rw-r--r--os/src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/src/init.c b/os/src/init.c
index bb3a6fb..070fac1 100644
--- a/os/src/init.c
+++ b/os/src/init.c
@@ -3,7 +3,6 @@
extern void __libc_init_array();
extern void __libc_fini_array();
-extern void __main();
extern int main(int, char **, char **);
extern void BoardEarlyInit();
extern void BoardLateInit();
@@ -22,6 +21,7 @@ void _start() {
BoardEarlyInit();
BoardConsoleInit();
BoardConsolePuts("uC-sdk - booting.");
+// __sinit(_impure_ptr);
__libc_init_array();
BoardLateInit();
atexit(__libc_fini_array);