diff options
author | dzwdz | 2021-09-14 20:35:35 +0200 |
---|---|---|
committer | dzwdz | 2021-09-14 20:35:35 +0200 |
commit | 06f089b35046342fca2c30040749c632785ce6c6 (patch) | |
tree | 130e78e39b7a3afe091abdc0fcf60141712c2aa4 /src/shared | |
parent | 1d0512957e802acfe7b677b30589a4e3bd26fac8 (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/shared')
-rw-r--r-- | src/shared/syscalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index e8e0843..11abf66 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -27,6 +27,8 @@ enum { _SYSCALL_MEMFLAG, }; +int _syscall(int, int, int, int, int); + /** Kills the current process. * TODO: what happens to the children? */ |