From 999013f32c98c10965433b51a5e0a42ed785bdf4 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 13 Sep 1989 23:00:27 -0800 Subject: [PATCH] POSIX signals SCCS-vsn: usr.bin/f77/libU77/system_.c 5.2 --- usr/src/usr.bin/f77/libU77/system_.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/src/usr.bin/f77/libU77/system_.c b/usr/src/usr.bin/f77/libU77/system_.c index 6d1d9a74fa..75702245ae 100644 --- a/usr/src/usr.bin/f77/libU77/system_.c +++ b/usr/src/usr.bin/f77/libU77/system_.c @@ -3,7 +3,7 @@ * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * - * @(#)system_.c 5.1 %G% + * @(#)system_.c 5.2 %G% */ /* @@ -51,7 +51,7 @@ char *rindex(); system(s) char *s; { - register int (*istat)(), (*qstat)(); + register sig_t istat, qstat; int status, pid, w; char *shname, *shell; @@ -73,7 +73,7 @@ char *s; ; if (w == -1) status = -1; - signal(SIGINT, istat); - signal(SIGQUIT, qstat); + (void)signal(SIGINT, istat); + (void)signal(SIGQUIT, qstat); return(status); } -- 2.20.1