summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.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/ipcp.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/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 2677cd5..72c8eb1 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.48 1998/01/18 20:49:18 brian Exp $
+ * $Id: ipcp.c,v 1.49 1998/01/20 22:47:38 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)
OpenPOWER on IntegriCloud