From 8e276c64c9394d0964506bd6eaa7d4e0547d1ead Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 2 May 2022 21:47:11 +0200 Subject: meta: write a script to generate `src/init/syscalls.c` --- src/shared/syscalls.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/shared') diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h index 5773190..d986d11 100644 --- a/src/shared/syscalls.h +++ b/src/shared/syscalls.h @@ -44,10 +44,10 @@ int _syscall_fork(int flags); handle_t _syscall_open(const char __user *path, int len); -int _syscall_mount(handle_t, const char __user *path, int len); -int _syscall_read(handle_t, void __user *buf, size_t len, int offset); -int _syscall_write(handle_t, const void __user *buf, size_t len, int offset); -int _syscall_close(handle_t); +int _syscall_mount(handle_t h, const char __user *path, int len); +int _syscall_read(handle_t h, void __user *buf, size_t len, int offset); +int _syscall_write(handle_t h, const void __user *buf, size_t len, int offset); +int _syscall_close(handle_t h); handle_t _syscall_fs_fork2(void); -- cgit v1.2.3