more little compile fixes
This commit is contained in:
@@ -256,7 +256,6 @@ void unwind(void);
|
||||
void userinit(void);
|
||||
void varreg(void);
|
||||
void varsym(void);
|
||||
Waitmsg* waitfor(int);
|
||||
void whatis(Lsym*);
|
||||
void windir(Map*, Node*, Node*, Node*);
|
||||
void yyerror(char*, ...);
|
||||
|
||||
@@ -245,17 +245,3 @@ getstatus(int pid)
|
||||
return buf+56; /* ditto */
|
||||
}
|
||||
|
||||
Waitmsg*
|
||||
waitfor(int pid)
|
||||
{
|
||||
Waitmsg *w;
|
||||
|
||||
for(;;) {
|
||||
if((w = wait()) == nil)
|
||||
error("wait %r");
|
||||
if(w->pid == pid)
|
||||
return w;
|
||||
free(w);
|
||||
}
|
||||
return nil; /* ken */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user