diff options
author | brian <brian@FreeBSD.org> | 1998-01-21 02:15:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-21 02:15:33 +0000 |
commit | 8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337 (patch) | |
tree | 403c2042c52b8c056a6d3fd2cb974c58a8dfa534 /usr.sbin/ppp/ip.c | |
parent | 606a03ebe5beda6ea740330bf2295c7adc7f4101 (diff) | |
download | FreeBSD-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/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 ac17962..ddd520b 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.36 1998/01/04 20:26:37 brian Exp $ + * $Id: ip.c,v 1.37 1998/01/11 17:53:18 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" |