aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-01-26 18:38:36 +0100
committerMarvin Borner2020-01-26 18:38:36 +0100
commitbb2a6b4d93512e8afc1b1999eb58f1f506cc27ae (patch)
treeea30b53ac6043faddd1cdb2fdea17f37178b1cc7 /src/userspace/syscall.c
parentb8630d78a15a69f50dac747e41e84b143dd99b08 (diff)
Magic commit
Some things work, others don't.
Diffstat (limited to 'src/userspace/syscall.c')
-rw-r--r--src/userspace/syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/syscall.c b/src/userspace/syscall.c
index 132cd49..9462b10 100644
--- a/src/userspace/syscall.c
+++ b/src/userspace/syscall.c
@@ -5,9 +5,9 @@
*/
DEFN_SYSCALL0(halt, 0);
-DEFN_SYSCALL1(write, 1, char *);
+DEFN_SYSCALL1(write, 1, const char *);
-DEFN_SYSCALL1(read, 2, char *);
+DEFN_SYSCALL1(read, 2, const char *);
DEFN_SYSCALL1(writec, 3, char);