diff options
author | brian <brian@FreeBSD.org> | 1998-06-20 01:36:38 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-20 01:36:38 +0000 |
commit | c2aa2f38cd437cc848b557b81fe3eb9d4d407b9b (patch) | |
tree | 47845537faee350c8584544d5e7de0f5a6e1537b /usr.sbin/ppp/timer.h | |
parent | 6e7ded224d09f6b63debbee1e5db7b1ae4a0a100 (diff) | |
download | FreeBSD-src-c2aa2f38cd437cc848b557b81fe3eb9d4d407b9b.zip FreeBSD-src-c2aa2f38cd437cc848b557b81fe3eb9d4d407b9b.tar.gz |
Re-initialise our timer service after fork()ing
to lose our terminal session. Is this a bug in
setitimer() ? - it must be called again in the
child !
Diffstat (limited to 'usr.sbin/ppp/timer.h')
-rw-r--r-- | usr.sbin/ppp/timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/timer.h b/usr.sbin/ppp/timer.h index 0dcca5b..5e6b6be 100644 --- a/usr.sbin/ppp/timer.h +++ b/usr.sbin/ppp/timer.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: timer.h,v 1.5.4.5 1998/05/08 01:15:19 brian Exp $ + * $Id: timer.h,v 1.6 1998/05/21 21:48:49 brian Exp $ * * TODO: */ @@ -42,5 +42,6 @@ struct prompt; extern void timer_Start(struct pppTimer *); extern void timer_Stop(struct pppTimer *); +extern void timer_InitService(void); extern void timer_TermService(void); extern void timer_Show(int LogLevel, struct prompt *); |