diff options
author | rsc <devnull@localhost> | 2006-02-27 01:26:48 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-02-27 01:26:48 +0000 |
commit | 06d255079ae3c99ea1e980f85a4386f150d22e44 (patch) | |
tree | 6c91040a70da04402e614114c4233529fa4c5adf /src/cmd/faces | |
parent | 8578c8191533cb93f4a89756a16f0bf5ab5d5f37 (diff) | |
download | plan9port-06d255079ae3c99ea1e980f85a4386f150d22e44.tar.gz plan9port-06d255079ae3c99ea1e980f85a4386f150d22e44.tar.bz2 plan9port-06d255079ae3c99ea1e980f85a4386f150d22e44.zip |
remove unused pids array (Erik Quanstrom)
Diffstat (limited to 'src/cmd/faces')
-rw-r--r-- | src/cmd/faces/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/cmd/faces/main.c b/src/cmd/faces/main.c index 2563a243..18eb70b4 100644 --- a/src/cmd/faces/main.c +++ b/src/cmd/faces/main.c @@ -32,7 +32,6 @@ enum NPROC }; -int pids[NPROC]; char *procnames[] = { "main", "time", @@ -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); } |