aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libkogata/start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libkogata/start.c')
-rw-r--r--src/lib/libkogata/start.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libkogata/start.c b/src/lib/libkogata/start.c
index 984a3cd..bd22d7a 100644
--- a/src/lib/libkogata/start.c
+++ b/src/lib/libkogata/start.c
@@ -1,9 +1,13 @@
#include <syscall.h>
-extern int main(int, char**);
+void malloc_setup();
+
+int main(int, char**);
void __libkogata_start() {
- // TODO : setup
+ malloc_setup();
+
+ // TODO : more setup ?
int ret = main(0, 0);