aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2024-05-09 19:39:48 +0200
committerLaytan <laytanlaats@hotmail.com>2024-05-09 19:39:48 +0200
commitd7fdccb08ca811a13715eb21c6c6def6e736558b (patch)
tree8b8bba9ae358f18999f4fa55c331d7103970d38b /core/sys/linux
parent8a1e7bb6fba1fb2c195d7fa6c153d278858cdf61 (diff)
fix a couple of -vet-style failures after f54977336b27c32eab52b77d94e7b1610f4350cf
Diffstat (limited to 'core/sys/linux')
-rw-r--r--core/sys/linux/helpers.odin30
1 files changed, 15 insertions, 15 deletions
diff --git a/core/sys/linux/helpers.odin b/core/sys/linux/helpers.odin
index 69c648bf1..75fdd586e 100644
--- a/core/sys/linux/helpers.odin
+++ b/core/sys/linux/helpers.odin
@@ -26,7 +26,7 @@ where
@(private)
syscall2 :: #force_inline proc "contextless" (nr: uintptr,p1: $T1, p2: $T2) -> int
where
- size_of(p1) <= size_of(uintptr) &&
+ size_of(p1) <= size_of(uintptr),
size_of(p2) <= size_of(uintptr)
{
return cast(int) intrinsics.syscall(nr,
@@ -36,8 +36,8 @@ where
@(private)
syscall3 :: #force_inline proc "contextless" (nr: uintptr, p1: $T1, p2: $T2, p3: $T3) -> int
where
- size_of(p1) <= size_of(uintptr) &&
- size_of(p2) <= size_of(uintptr) &&
+ size_of(p1) <= size_of(uintptr),
+ size_of(p2) <= size_of(uintptr),
size_of(p3) <= size_of(uintptr)
{
return cast(int) intrinsics.syscall(nr,
@@ -49,9 +49,9 @@ where
@(private)
syscall4 :: #force_inline proc "contextless" (nr: uintptr, p1: $T1, p2: $T2, p3: $T3, p4: $T4) -> int
where
- size_of(p1) <= size_of(uintptr) &&
- size_of(p2) <= size_of(uintptr) &&
- size_of(p3) <= size_of(uintptr) &&
+ size_of(p1) <= size_of(uintptr),
+ size_of(p2) <= size_of(uintptr),
+ size_of(p3) <= size_of(uintptr),
size_of(p4) <= size_of(uintptr)
{
return cast(int) intrinsics.syscall(nr,
@@ -64,10 +64,10 @@ where
@(private)
syscall5 :: #force_inline proc "contextless" (nr: uintptr, p1: $T1, p2: $T2, p3: $T3, p4: $T4, p5: $T5) -> int
where
- size_of(p1) <= size_of(uintptr) &&
- size_of(p2) <= size_of(uintptr) &&
- size_of(p3) <= size_of(uintptr) &&
- size_of(p4) <= size_of(uintptr) &&
+ size_of(p1) <= size_of(uintptr),
+ size_of(p2) <= size_of(uintptr),
+ size_of(p3) <= size_of(uintptr),
+ size_of(p4) <= size_of(uintptr),
size_of(p5) <= size_of(uintptr)
{
return cast(int) intrinsics.syscall(nr,
@@ -81,11 +81,11 @@ where
@(private)
syscall6 :: #force_inline proc "contextless" (nr: uintptr, p1: $T1, p2: $T2, p3: $T3, p4: $T4, p5: $T5, p6: $T6) -> int
where
- size_of(p1) <= size_of(uintptr) &&
- size_of(p2) <= size_of(uintptr) &&
- size_of(p3) <= size_of(uintptr) &&
- size_of(p4) <= size_of(uintptr) &&
- size_of(p5) <= size_of(uintptr) &&
+ size_of(p1) <= size_of(uintptr),
+ size_of(p2) <= size_of(uintptr),
+ size_of(p3) <= size_of(uintptr),
+ size_of(p4) <= size_of(uintptr),
+ size_of(p5) <= size_of(uintptr),
size_of(p6) <= size_of(uintptr)
{
return cast(int) intrinsics.syscall(nr,