aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-03-08 09:55:42 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-03-08 09:55:42 +0000
commitee5f208d638af3d0dcab526c5821eb6abf0c09d4 (patch)
tree288bfe14e8d66d12191bbc0aa949c8904bde5ed2
parent1a277b7ae953d189c146857f41a3b0fc9deab4d2 (diff)
Notes
-rw-r--r--usr.sbin/ppp/timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c
index 68214cf27bb46..236bdbe169fed 100644
--- a/usr.sbin/ppp/timer.c
+++ b/usr.sbin/ppp/timer.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: timer.c,v 1.9 1997/02/22 16:10:59 peter Exp $
+ * $Id: timer.c,v 1.10 1997/02/25 14:05:17 brian Exp $
*
* TODO:
*/
@@ -271,7 +271,7 @@ void usleep( u_int usec)
void InitTimerService( void ) {
struct itimerval itimer;
- pending_signal(SIGALRM, (void (*)(int))TimerService);
+ signal(SIGALRM, (void (*)(int))TimerService);
itimer.it_interval.tv_sec = itimer.it_value.tv_sec = 0;
itimer.it_interval.tv_usec = itimer.it_value.tv_usec = TICKUNIT;
setitimer(ITIMER_REAL, &itimer, NULL);
@@ -287,6 +287,6 @@ void TermTimerService( void ) {
* Notes: after disabling timer here, we will get one
* SIGALRM will be got.
*/
- pending_signal(SIGALRM, SIG_IGN);
+ signal(SIGALRM, SIG_IGN);
}
#endif