summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/timeout.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-01-29 01:27:58 +0000
committerbrian <brian@FreeBSD.org>1997-01-29 01:27:58 +0000
commitbfe2c2933595179da4499f68624984a9fee9a316 (patch)
treec2b48f73447142a2c98b388757bac61aa053b834 /usr.sbin/ppp/timeout.h
parentcb0391dcad998534fe857eb5f19f7045fce07949 (diff)
downloadFreeBSD-src-bfe2c2933595179da4499f68624984a9fee9a316.zip
FreeBSD-src-bfe2c2933595179da4499f68624984a9fee9a316.tar.gz
Move the call to TimerService() into main.c - just after the select()
call. The SIGALRM just sets a flag now, preventing the possibility of any nasty recursivness in the handler itself.
Diffstat (limited to 'usr.sbin/ppp/timeout.h')
-rw-r--r--usr.sbin/ppp/timeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/timeout.h b/usr.sbin/ppp/timeout.h
index 1da38ef..afba12a 100644
--- a/usr.sbin/ppp/timeout.h
+++ b/usr.sbin/ppp/timeout.h
@@ -42,6 +42,7 @@ struct pppTimer {
#define TIMER_EXPIRED 2
struct pppTimer *TimerList;
+extern int TimerServiceRequest; /* If this is >0, call TimerService() */
extern void StartTimer __P((struct pppTimer *));
extern void StopTimer __P((struct pppTimer *));
OpenPOWER on IntegriCloud