diff options
author | dzwdz | 2023-01-18 23:18:49 +0100 |
---|---|---|
committer | dzwdz | 2023-01-18 23:18:49 +0100 |
commit | 1e261597a5c5f9803a65a5b13dd71d33d501f010 (patch) | |
tree | 50de2741a4917e21427c7920fa33e0372129de92 /src/kernel/proc.h | |
parent | ec81fa16d837f430add92b4d2ee4bd3727ca6c6d (diff) |
kernel: add a root argument to process_next
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index fa50520..c51151b 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -96,7 +96,7 @@ void process_tryreap(struct process *dead); _Noreturn void process_switch_any(void); /** Used for iterating over all processes */ -struct process *process_next(struct process *); +struct process *process_next(struct process *p, struct process *root); handle_t process_find_free_handle(struct process *proc, handle_t start_at); struct handle *process_handle_get(struct process *, handle_t); |