hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a19ae84d8de177d7ba34e2729080a53a9c04846a
parent da003e45ced4991b1bae282169dcf942e1e4b235
Author: Drew DeVault <sir@cmpwn.com>
Date:   Wed, 30 Nov 2022 12:47:12 +0100

rt::epoll_ctl: set return value to void

Signed-off-by: Drew DeVault <sir@cmpwn.com>

Diffstat:
Mrt/+linux/syscalls.ha | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -462,9 +462,9 @@ export fn epoll_ctl( op: int, fd: int, event: nullable *epoll_event -) (int | errno) = { - return wrap_return(syscall4(SYS_epoll_ctl, - epfd: u64, op: u64, fd: u64, event: uintptr: u64))?: int; +) (void | errno) = { + wrap_return(syscall4(SYS_epoll_ctl, + epfd: u64, op: u64, fd: u64, event: uintptr: u64))?; }; export fn epoll_pwait(