summaryrefslogtreecommitdiff
path: root/src/user/app/init/main.c
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2013-06-08 23:09:52 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2013-06-08 23:09:52 +0200
commit4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4 (patch)
treec193acf64ff2db985f6664f161cf586c3caeb684 /src/user/app/init/main.c
parenteae9997d3c2dbaef53022ddabe61c1800a619499 (diff)
downloadTCE-4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4.tar.gz
TCE-4d65fcb9a8b6c7c6fd5a3390c46a96d11b6a80d4.zip
All FWIK is deleted. YOSH is now pure C. Not-working KBASIC included.
Diffstat (limited to 'src/user/app/init/main.c')
-rw-r--r--src/user/app/init/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/init/main.c b/src/user/app/init/main.c
index 92fb8f7..bd0b3bf 100644
--- a/src/user/app/init/main.c
+++ b/src/user/app/init/main.c
@@ -1,8 +1,8 @@
#include <tce/syscall.h>
#include <stdio.h>
-int main(char **args) {
- FILE home_term = open("/.ui/home", 0);
+int main(int argc, char **args) {
+ int home_term = open("/.ui/home", 0);
int i, pid;
if (home_term < 0) return -1;