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, 4 insertions, 4 deletions
diff --git a/src/lib/libkogata/start.c b/src/lib/libkogata/start.c
index 030423c..9ba7edf 100644
--- a/src/lib/libkogata/start.c
+++ b/src/lib/libkogata/start.c
@@ -1,12 +1,12 @@
-#include <stddef.h>
-#include <stdint.h>
-#include <stdbool.h>
+#include <syscall.h>
extern int main(int, char**);
void __libkogata_start() {
// TODO : setup
- main(0, 0);
+ int ret = main(0, 0);
+
+ exit(ret);
}