summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index 137611fbcdf..5ccc5ae0cb7 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.12 1998/01/20 22:46:25 brian Exp $
+ * $Id: ipcp.c,v 1.13 1998/01/21 02:13:34 brian Exp $
*
* TODO:
* o More RFC1772 backwoard compatibility
@@ -30,11 +30,9 @@
#include <sys/socket.h>
#include <netdb.h>
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
#include <unistd.h>
#include "command.h"
@@ -88,7 +86,6 @@ struct fsm IpcpFsm = {
ST_INITIAL,
0, 0, 0,
- 0,
{0, 0, 0, NULL, NULL, NULL}, /* FSM timer */
{0, 0, 0, NULL, NULL, NULL}, /* Open timer */
{0, 0, 0, NULL, NULL, NULL}, /* Stopped timer */
@@ -126,7 +123,7 @@ static const char *cftypes128[] = {
#define NCFTYPES128 (sizeof cftypes128/sizeof cftypes128[0])
-struct pppThroughput throughput;
+static struct pppThroughput throughput;
void
IpcpAddInOctets(int n)