diff options
author | bde <bde@FreeBSD.org> | 1997-11-10 11:32:24 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-10 11:32:24 +0000 |
commit | 9dbc4bc4ff1bd640f526fd2da359c0768fe7e462 (patch) | |
tree | eaff7a543235b400c18b66392426fab74669a3af /bin/sh/trap.h | |
parent | 69b3def96447225951a33523a22829bb8d0e21a5 (diff) | |
download | FreeBSD-src-9dbc4bc4ff1bd640f526fd2da359c0768fe7e462.zip FreeBSD-src-9dbc4bc4ff1bd640f526fd2da359c0768fe7e462.tar.gz |
Fixed some type and value mismatches. setsignal() returned a bogusly
cast value that was always ignored. Rev.1.9 of trap.c made this
more bogus by returning a semantically different value after calling
siginterrupt(). Avoid these problems by not returning a value.
Diffstat (limited to 'bin/sh/trap.h')
-rw-r--r-- | bin/sh/trap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/trap.h b/bin/sh/trap.h index 24866a5..a042a16 100644 --- a/bin/sh/trap.h +++ b/bin/sh/trap.h @@ -34,14 +34,14 @@ * SUCH DAMAGE. * * @(#)trap.h 8.3 (Berkeley) 6/5/95 - * $Id$ + * $Id: trap.h,v 1.6 1997/02/22 13:58:47 peter Exp $ */ extern int pendingsigs; int trapcmd __P((int, char **)); void clear_traps __P((void)); -long setsignal __P((int)); +void setsignal __P((int)); void ignoresig __P((int)); void onsig __P((int)); void dotrap __P((void)); |