diff options
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index 13ce759..b9f96c8 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -9,7 +9,7 @@ struct process *process_first; struct process *process_current; -uint32_t next_pid = 0; +static uint32_t next_pid = 0; struct process *process_seed(void) { struct process *proc = kmalloc(sizeof *proc); @@ -72,7 +72,7 @@ _Noreturn void process_switch_any(void) { } // TODO there's no check for going past the stack - VULN -struct process *_process_find_recursive( +static struct process *_process_find_recursive( enum process_state target, struct process *iter) { struct process *in; while (iter) { |