From 1f448dfb87c5060309103a7f1f7bf0068017cc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gr=C3=A9goire?= Date: Mon, 7 Sep 2026 20:10:18 -0400 Subject: [PATCH] ke/wait: make wait_any parameter const --- src/kern/wait.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kern/wait.zig b/src/kern/wait.zig index 394574e..33c973d 100644 --- a/src/kern/wait.zig +++ b/src/kern/wait.zig @@ -119,7 +119,7 @@ pub fn wait_one(object: *DispatchHeader, reason: []const u8, opts: Options) !usi /// If `waitblocks` is specified, then the wait will use those waitblocks /// for the operation. Note that if `timeout` is provided, then one additional /// waitblock must be allocated. -pub fn wait_any(objects: []*DispatchHeader, reason: []const u8, opts: Options) !usize { +pub fn wait_any(objects: []const *DispatchHeader, reason: []const u8, opts: Options) !usize { const ipl = ke.ipl.raise(.Dispatch); defer ke.ipl.lower(ipl); const curtd = kep.sched.percpu.local().current_thread.?;