summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/signal.c
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-10-02 11:28:59 +0000
committertg <tg@FreeBSD.org>2001-10-02 11:28:59 +0000
commit5a5faeb1fdc45ba96f1845430e14e114bf638d07 (patch)
tree15ee4fccd16594c90a39dddc748220e18b5aa6f0 /usr.bin/doscmd/signal.c
parentb377b771103513eea4b0a6853c82cc12a35fc3e7 (diff)
downloadFreeBSD-src-5a5faeb1fdc45ba96f1845430e14e114bf638d07.zip
FreeBSD-src-5a5faeb1fdc45ba96f1845430e14e114bf638d07.tar.gz
- First shot at PIC emulation;
- better 8250 emulation; - fake vertical retrace bit in Input Status #1 register (this was lost in the VGA emu rewrite). Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
Diffstat (limited to 'usr.bin/doscmd/signal.c')
-rw-r--r--usr.bin/doscmd/signal.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/doscmd/signal.c b/usr.bin/doscmd/signal.c
index 97a11fe..11f669b 100644
--- a/usr.bin/doscmd/signal.c
+++ b/usr.bin/doscmd/signal.c
@@ -84,12 +84,10 @@ generichandler(struct sigframe sf)
#error BSD/OS sigframe/trapframe kernel interface not currently supported.
#endif
-void
-setsignal(int s, void (*h)(struct sigframe *))
+void setsignal(int s, void (*h)(struct sigframe *))
{
static int first = 1;
struct sigaction sa;
- sigset_t set;
if (first) {
struct sigaltstack sstack;
@@ -110,8 +108,5 @@ setsignal(int s, void (*h)(struct sigframe *))
sigaddset(&sa.sa_mask, SIGALRM);
sa.sa_flags = SA_ONSTACK;
sigaction(s, &sa, NULL);
-
- sigaddset(&set, s);
- sigprocmask(SIG_UNBLOCK, &set, 0);
}
}
OpenPOWER on IntegriCloud