aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/rfork.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-09-23 03:06:04 +0000
committerrsc <devnull@localhost>2004-09-23 03:06:04 +0000
commit05d8c6df6c626f9e80e7d0ffe241c061bda36324 (patch)
tree24217a1d5d6cfc75cf51a71523bac153d52c74c1 /src/lib9/rfork.c
parent040d1d02f5b829f59e63123d7095aea7d04e372b (diff)
downloadplan9port-05d8c6df6c626f9e80e7d0ffe241c061bda36324.tar.gz
plan9port-05d8c6df6c626f9e80e7d0ffe241c061bda36324.tar.bz2
plan9port-05d8c6df6c626f9e80e7d0ffe241c061bda36324.zip
Get rid of 9proc.
Diffstat (limited to 'src/lib9/rfork.c')
-rw-r--r--src/lib9/rfork.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib9/rfork.c b/src/lib9/rfork.c
index d3c8f8b2..aec051a9 100644
--- a/src/lib9/rfork.c
+++ b/src/lib9/rfork.c
@@ -2,7 +2,6 @@
#include <sys/wait.h>
#include <signal.h>
#include <libc.h>
-#include "9proc.h"
#undef rfork
int
@@ -13,7 +12,6 @@ p9rfork(int flags)
int n;
char buf[128], *q;
- _p9uproc(0);
if((flags&(RFPROC|RFFDG|RFMEM)) == (RFPROC|RFFDG)){
/* check other flags before we commit */
flags &= ~(RFPROC|RFFDG);
@@ -73,7 +71,6 @@ p9rfork(int flags)
}
}
}
- _p9uproc(0);
if(pid != 0)
return pid;
}