Oops. Broke the build when I rearranged proc.c

This commit is contained in:
Austin Clements 2010-09-02 14:30:06 -04:00
parent d599aa2e40
commit c7c21467c3
2 changed files with 3 additions and 0 deletions

1
defs.h
View file

@ -101,6 +101,7 @@ int kill(int);
void pinit(void); void pinit(void);
void procdump(void); void procdump(void);
void scheduler(void) __attribute__((noreturn)); void scheduler(void) __attribute__((noreturn));
void sched(void);
void sleep(void*, struct spinlock*); void sleep(void*, struct spinlock*);
void userinit(void); void userinit(void);
int wait(void); int wait(void);

2
proc.c
View file

@ -17,6 +17,8 @@ int nextpid = 1;
extern void forkret(void); extern void forkret(void);
extern void trapret(void); extern void trapret(void);
static void wakeup1(void *chan);
void void
pinit(void) pinit(void)
{ {