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/ip.c | |
parent | 5391f133fb9aab9e640da69ab7483f786af27580 (diff) |
Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r-- | usr.sbin/ppp/ip.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index 5da419aecbb..b686f4a5bf8 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ip.c,v 1.6 1998/01/11 17:55:18 brian Exp $ + * $Id: ip.c,v 1.7 1998/01/21 02:13:33 brian Exp $ * * TODO: * o Return ICMP message for filterd packet @@ -25,8 +25,9 @@ */ #include <sys/param.h> #include <sys/time.h> -#include <sys/select.h> #include <sys/socket.h> +#include <net/if.h> +#include <net/if_tun.h> #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> @@ -34,8 +35,6 @@ #include <netinet/udp.h> #include <netinet/tcp.h> #include <arpa/inet.h> -#include <net/if.h> -#include <net/if_tun.h> #ifndef NOALIAS #include <alias.h> @@ -53,7 +52,6 @@ #include "defs.h" #include "timer.h" #include "fsm.h" -#include "lcpproto.h" #include "hdlc.h" #include "loadalias.h" #include "vars.h" |