diff options
author | brian <brian@cvs.openbsd.org> | 1998-01-21 02:13:45 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-01-21 02:13:45 +0000 |
commit | 8a2ec42180fb11a937a82cb373eb5158f74e1ab8 (patch) | |
tree | 442249b74cfbdcd52476e670964a3b269c05ad77 /usr.sbin/ppp/timer.c | |
parent | 5391f133fb9aab9e640da69ab7483f786af27580 (diff) |
Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
Diffstat (limited to 'usr.sbin/ppp/timer.c')
-rw-r--r-- | usr.sbin/ppp/timer.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c index c6c71e88717..173622a5a0e 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.3 1997/12/29 22:23:41 brian Exp $ + * $Id: timer.c,v 1.4 1998/01/21 02:13:41 brian Exp $ * * TODO: */ @@ -27,17 +27,15 @@ #include <errno.h> #endif #include <sys/time.h> -#include <stdio.h> #include <unistd.h> #include "command.h" #include "mbuf.h" #include "log.h" -#include "defs.h" #include "sig.h" #include "timer.h" -struct pppTimer *TimerList = NULL; +static struct pppTimer *TimerList = NULL; static void StopTimerNoBlock(struct pppTimer *); static void InitTimerService(void); @@ -143,7 +141,7 @@ StopTimerNoBlock(struct pppTimer * tp) tp->state = TIMER_STOPPED; } -void +static void TimerService() { struct pppTimer *tp, *exp, *wt; |