diff options
author | mpp <mpp@FreeBSD.org> | 1997-02-28 06:26:26 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-02-28 06:26:26 +0000 |
commit | 34021d3eb0ae52da7429720869b461de253d36b6 (patch) | |
tree | 01a27933de9f6350224e68fe6312de07763a716b /lib/libc | |
parent | d6d4380e84f41b1ec3d979438d54f3d0609b7d9b (diff) | |
download | FreeBSD-src-34021d3eb0ae52da7429720869b461de253d36b6.zip FreeBSD-src-34021d3eb0ae52da7429720869b461de253d36b6.tar.gz |
Oops! I accidently commited a change that wasn't ready for prime
time yet. Revert to rev 1.2.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/sigsetops.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/libc/gen/sigsetops.c b/lib/libc/gen/sigsetops.c index 7e823a8..c3bd870 100644 --- a/lib/libc/gen/sigsetops.c +++ b/lib/libc/gen/sigsetops.c @@ -38,7 +38,6 @@ static char sccsid[] = "@(#)sigsetops.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ #include <signal.h> -#include <errno.h> #undef sigemptyset #undef sigfillset @@ -46,8 +45,6 @@ static char sccsid[] = "@(#)sigsetops.c 8.1 (Berkeley) 6/4/93"; #undef sigdelset #undef sigismember -#define SIGBAD(signo) ((signo) <= 0 || (signo) >= NSIG) - int sigemptyset(set) sigset_t *set; @@ -69,10 +66,6 @@ sigaddset(set, signo) sigset_t *set; int signo; { - if (SIGBAD(signo)) { - errno = EINVAL; - return -1; - } *set |= sigmask(signo); return (0); } @@ -82,10 +75,6 @@ sigdelset(set, signo) sigset_t *set; int signo; { - if (SIGBAD(signo)) { - errno = EINVAL; - return -1; - } *set &= ~sigmask(signo); return (0); } @@ -95,9 +84,5 @@ sigismember(set, signo) const sigset_t *set; int signo; { - if (SIGBAD(signo)) { - errno = EINVAL; - return -1; - } return ((*set & ~sigmask(signo)) != 0); } |