From 580a94bc44bcea61bf1b07abf24c1b00e43a1d64 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 10 Feb 2020 19:32:40 +0100 Subject: Kernel+LibC: Merge sys$stat() and sys$lstat() There is now only one sys$stat() instead of two separate syscalls. --- Kernel/Process.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Kernel/Process.h') diff --git a/Kernel/Process.h b/Kernel/Process.h index e9156e4209..01c7c5d3f6 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -195,8 +195,7 @@ public: ssize_t sys$write(int fd, const u8*, ssize_t); ssize_t sys$writev(int fd, const struct iovec* iov, int iov_count); int sys$fstat(int fd, stat*); - int sys$lstat(const char*, size_t, stat*); - int sys$stat(const char*, size_t, stat*); + int sys$stat(const Syscall::SC_stat_params*); int sys$lseek(int fd, off_t, int whence); int sys$kill(pid_t pid, int sig); [[noreturn]] void sys$exit(int status); -- cgit v1.2.3