summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/timer.c')
-rw-r--r--usr.sbin/ppp/timer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c
index 3003b6c..9c4fc9f 100644
--- a/usr.sbin/ppp/timer.c
+++ b/usr.sbin/ppp/timer.c
@@ -211,13 +211,13 @@ TimerService(void)
exp = tp;
tp = next;
} while (tp && tp->rest == 0);
-
+
TimerList = tp;
if (TimerList != NULL) /* Any timers remaining ? */
timer_InitService(1); /* Restart the Timer Service */
else
timer_TermService(); /* Stop the Timer Service */
-
+
/* Process all expired timers */
while (exp) {
ExpiredList = exp->enext;
@@ -262,7 +262,7 @@ timer_Show(int LogLevel, struct prompt *prompt)
log_Printf(LogLevel, "---- End of Timer Service List ---\n");
}
-void
+void
timer_InitService(int restart)
{
struct itimerval itimer;
@@ -279,7 +279,7 @@ timer_InitService(int restart)
}
}
-void
+void
timer_TermService(void)
{
struct itimerval itimer;
OpenPOWER on IntegriCloud