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/lcp.c | |
parent | 5391f133fb9aab9e640da69ab7483f786af27580 (diff) |
Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index edefcd306b3..9cf49252c4d 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.7 1998/01/20 22:46:26 brian Exp $ + * $Id: lcp.c,v 1.8 1998/01/21 02:13:34 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -25,12 +25,11 @@ */ #include <sys/param.h> #include <sys/time.h> -#include <sys/select.h> #include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> #include <net/if.h> #include <net/if_tun.h> +#include <netinet/in.h> +#include <arpa/inet.h> #include <signal.h> #include <stdarg.h> @@ -123,7 +122,6 @@ struct fsm LcpFsm = { 1, /* Open mode delay */ ST_INITIAL, /* State of machine */ 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 */ |