aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-28 01:45:05 +0000
committerrsc <devnull@localhost>2004-12-28 01:45:05 +0000
commit22c7ebffdade6036f5b46347f6a6ca41023c6253 (patch)
tree78841d3f6de1a3231dcb9abf459136472a92bed5 /src/cmd/acid
parent7ffc5208a82cd7339c125956a9702ac08c0ff2f4 (diff)
downloadplan9port-22c7ebffdade6036f5b46347f6a6ca41023c6253.tar.gz
plan9port-22c7ebffdade6036f5b46347f6a6ca41023c6253.tar.bz2
plan9port-22c7ebffdade6036f5b46347f6a6ca41023c6253.zip
more little compile fixes
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/acid.h1
-rw-r--r--src/cmd/acid/proc.c14
2 files changed, 0 insertions, 15 deletions
diff --git a/src/cmd/acid/acid.h b/src/cmd/acid/acid.h
index a26781c0..44718009 100644
--- a/src/cmd/acid/acid.h
+++ b/src/cmd/acid/acid.h
@@ -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*, ...);
diff --git a/src/cmd/acid/proc.c b/src/cmd/acid/proc.c
index 66996345..a0aed614 100644
--- a/src/cmd/acid/proc.c
+++ b/src/cmd/acid/proc.c
@@ -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 */
-}