Oops. Broke the build when I rearranged proc.c
This commit is contained in:
parent
d599aa2e40
commit
c7c21467c3
2 changed files with 3 additions and 0 deletions
1
defs.h
1
defs.h
|
@ -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
2
proc.c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue