From 9900cc737988f25db30b5876f066a78e73389205 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 5 May 2022 22:12:55 +0200 Subject: kernel: syscalls now have to explicitly save the return value thus they can opt out of doing that so the calls which might return immediately but can return later don't have to both regs_savereturn and return to the caller. and because of that, the return values of a lot of VFS things have just got way saner --- src/kernel/vfs/root.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/vfs/root.h') diff --git a/src/kernel/vfs/root.h b/src/kernel/vfs/root.h index f10fb85..3db958d 100644 --- a/src/kernel/vfs/root.h +++ b/src/kernel/vfs/root.h @@ -1,5 +1,5 @@ #pragma once #include -int vfs_root_accept(struct vfs_request *); +void vfs_root_accept(struct vfs_request *); bool vfs_root_ready(struct vfs_backend *); -- cgit v1.2.3