summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/timer.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-21 02:15:33 +0000
committerbrian <brian@FreeBSD.org>1998-01-21 02:15:33 +0000
commit8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337 (patch)
tree403c2042c52b8c056a6d3fd2cb974c58a8dfa534 /usr.sbin/ppp/timer.c
parent606a03ebe5beda6ea740330bf2295c7adc7f4101 (diff)
downloadFreeBSD-src-8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337.zip
FreeBSD-src-8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337.tar.gz
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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/timer.c b/usr.sbin/ppp/timer.c
index ac7b089..fa53b39 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.25 1997/12/28 21:55:04 brian Exp $
+ * $Id: timer.c,v 1.26 1997/12/29 22:23:52 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;
OpenPOWER on IntegriCloud