summaryrefslogtreecommitdiff
path: root/src/user/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib')
-rw-r--r--src/user/lib/start.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/user/lib/start.c b/src/user/lib/start.c
index 3dbb994..2521f97 100644
--- a/src/user/lib/start.c
+++ b/src/user/lib/start.c
@@ -1,8 +1,8 @@
#include <tce/syscall.h>
-extern int main();
+extern int main(char **args);
-void start() {
- int ret = main();
+void start(char **args) {
+ int ret = main(args);
process_exit(ret);
}