summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
authordzwdz2021-09-14 20:35:35 +0200
committerdzwdz2021-09-14 20:35:35 +0200
commit06f089b35046342fca2c30040749c632785ce6c6 (patch)
tree130e78e39b7a3afe091abdc0fcf60141712c2aa4 /src/kernel/syscalls.c
parent1d0512957e802acfe7b677b30589a4e3bd26fac8 (diff)
merge the `syscall_handler` and `_syscall` declarations
i think that making the call a bit more "transparent" makes the code nicer
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index 9002628..3ed4877 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -250,7 +250,7 @@ int _syscall_memflag(void __user *addr, size_t len, int flags) {
return -1;
}
-int syscall_handler(int num, int a, int b, int c, int d) {
+int _syscall(int num, int a, int b, int c, int d) {
switch (num) {
case _SYSCALL_EXIT:
_syscall_exit((userptr_t)a, b);