summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 2261f85..24206fb 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -128,8 +128,7 @@ void proc_intr(Proc *p, const char *buf, size_t len);
/** Switches execution to any running process. */
_Noreturn void proc_switch_any(void);
-/** Used for iterating over all processes */
-Proc *proc_next(Proc *p, Proc *root);
+Proc *proc_next(Proc *root, Proc *p);
hid_t proc_find_free_handle(Proc *proc, hid_t start_at);
Handle *proc_handle_get(Proc *, hid_t);