From cff3ce6e04ce4a353324630df788df21566807a6 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Tue, 4 Jun 2019 11:31:50 -0400 Subject: more sbrk fixes --- proc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index b696d0c..768aa6d 100644 --- a/proc.c +++ b/proc.c @@ -500,8 +500,6 @@ wakeup(void *chan) release(&ptable.lock); } -#if 0 - // Kill the process with the given pid. // Process won't exit until it returns // to user space (see trap in trap.c). @@ -525,8 +523,6 @@ kill(int pid) return -1; } -#endif - // Copy to either a user address, or kernel address, // depending on usr_dst. // Returns 0 on success, -1 on error. -- cgit v1.2.3