hare

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

commit 823a374f32bdb66044f2bf1b6301838c7df06159
parent 05b6b962da3713ff7830c5b8b8a251493ea166ed
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date:   Thu, 11 Mar 2021 06:30:54 +0200

timerfd_settime: add const

note: requires specifying types.ha before syscalls.ha when building rt.
(due to a forward references issue)

Diffstat:
Mrt/+linux/syscalls.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -316,7 +316,7 @@ export fn timerfd_create(clock_id: int, flags: int) (int | errno) = { export fn timerfd_settime( fd: int, flags: int, - new_value: *itimerspec, + new_value: *const itimerspec, old_value: *itimerspec ) (int | errno) = { return wrap_return(syscall4(SYS_timerfd_settime,