Introduction
Introduction Statistics Contact Development Disclaimer Help
tremove unused pids array (Erik Quanstrom) - plan9port - [fork] Plan 9 from use…
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 06d255079ae3c99ea1e980f85a4386f150d22e44
parent 8578c8191533cb93f4a89756a16f0bf5ab5d5f37
Author: rsc <devnull@localhost>
Date: Mon, 27 Feb 2006 01:26:48 +0000
remove unused pids array (Erik Quanstrom)
Diffstat:
M src/cmd/faces/main.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/cmd/faces/main.c b/src/cmd/faces/main.c
t@@ -32,7 +32,6 @@ enum
NPROC
};
-int pids[NPROC];
char *procnames[] = {
"main",
"time",
t@@ -706,14 +705,12 @@ threadmain(int argc, char *argv[])
setdate();
eresized(0);
- pids[Mainp] = getpid();
- pids[Timep] = proccreate(timeproc, nil, STACK);
- pids[Mousep] = proccreate(mouseproc, nil, STACK);
- pids[Resizep] = proccreate(resizeproc, nil, STACK);
+ proccreate(timeproc, nil, STACK);
+ proccreate(mouseproc, nil, STACK);
+ proccreate(resizeproc, nil, STACK);
if(initload)
for(i = 0; i < nmaildirs; i++)
loadmboxfaces(maildirs[i]);
faceproc();
- fprint(2, "faces: %s process exits\n", procnames[Mainp]);
killall(nil);
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.