From c7c21467c3d3c9f2a04d6fac3b8ef796470b0448 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 2 Sep 2010 14:30:06 -0400 Subject: [PATCH] Oops. Broke the build when I rearranged proc.c --- defs.h | 1 + proc.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/defs.h b/defs.h index dca91bb..f2724ad 100644 --- a/defs.h +++ b/defs.h @@ -101,6 +101,7 @@ int kill(int); void pinit(void); void procdump(void); void scheduler(void) __attribute__((noreturn)); +void sched(void); void sleep(void*, struct spinlock*); void userinit(void); int wait(void); diff --git a/proc.c b/proc.c index 8197377..a72ec6c 100644 --- a/proc.c +++ b/proc.c @@ -17,6 +17,8 @@ int nextpid = 1; extern void forkret(void); extern void trapret(void); +static void wakeup1(void *chan); + void pinit(void) {