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/main.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/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index b526658..0c9d89b 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.117 1998/01/11 17:53:21 brian Exp $ + * $Id: main.c,v 1.118 1998/01/20 22:47:41 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -27,13 +27,12 @@ #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> #include <arpa/inet.h> -#include <netdb.h> -#include <net/if.h> -#include <net/if_tun.h> #include <errno.h> #include <fcntl.h> @@ -44,7 +43,6 @@ #include <string.h> #include <sys/time.h> #include <sys/wait.h> -#include <sysexits.h> #include <termios.h> #include <unistd.h> @@ -69,7 +67,6 @@ #include "ip.h" #include "sig.h" #include "server.h" -#include "lcpproto.h" #include "main.h" #include "vjcomp.h" #include "async.h" |