From 4e65eb5d9b26a06b301e1a177c51c2bac5795ea7 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 8 Jan 2021 11:55:20 +0700 Subject: [PATCH] Remove old (NEVER) defs for int_timer_on|off. (#191) These were replaced by other calls that manage more signals than just the `SIGVTALRM`. --- src/timer.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/src/timer.c b/src/timer.c index 8bbbb70..cf65497 100644 --- a/src/timer.c +++ b/src/timer.c @@ -668,46 +668,6 @@ void int_unblock() { void int_timer_on() { int_unblock(); } void int_timer_off() { int_block(); } -/************************************************************************/ -/* */ -/* */ -/* */ -/* */ -/* */ -/* */ -/* */ -/* */ -/************************************************************************/ - -#ifdef NEVER - -void int_timer_off() { -#ifdef SYSVSIGNALS - sigignore(SIGVTALRM); -#else - struct sigvec tmpv, timeroffv; - - timeroffv.sv_handler = SIG_IGN; - timeroffv.sv_mask = timeroffv.sv_flags = 0; - sigvec(SIGVTALRM, &timeroffv, &tmpv); -#endif /* SYSVSIGNALS */ -} - -void int_timer_on() { -#ifdef SYSVSIGNALS -#ifdef SIGVTALRM - SIGERRCHK(sigset(SIGVTALRM, int_timer_service), "sigset vtalrm"); -#endif /* SIGVTALRM */ - -#else - struct sigvec tmpv; - - sigvec(SIGVTALRM, &timerv, &tmpv); -#endif /* SYSVSIGNALS */ -} - -#endif /* NEVER */ - #ifdef FLTINT /************************************************************************/ /* */