diff options
author | mike <mike@FreeBSD.org> | 2002-06-03 23:13:11 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-06-03 23:13:11 +0000 |
commit | 9b39ed7b9416390758870edd85ae19dbee651312 (patch) | |
tree | a21f8895cdfa7f50dfa0df9ee4a19954b3330375 /usr.bin/window | |
parent | d9ab0c8dbcc15d1f11216307b235370b43767371 (diff) | |
download | FreeBSD-src-9b39ed7b9416390758870edd85ae19dbee651312.zip FreeBSD-src-9b39ed7b9416390758870edd85ae19dbee651312.tar.gz |
Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
Diffstat (limited to 'usr.bin/window')
-rw-r--r-- | usr.bin/window/wwchild.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/window/wwchild.c b/usr.bin/window/wwchild.c index 8b82fac..3ff46ec 100644 --- a/usr.bin/window/wwchild.c +++ b/usr.bin/window/wwchild.c @@ -48,10 +48,9 @@ static char rcsid[] = void wwchild() { - int olderrno; register struct ww **wp; - union wait w; - int pid; + pid_t pid; + int olderrno, w; char collected = 0; olderrno = errno; |