summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.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/route.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/route.c')
-rw-r--r--usr.sbin/ppp/route.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index 2aa2709..bf705b3 100644
--- a/usr.sbin/ppp/route.c
+++ b/usr.sbin/ppp/route.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: route.c,v 1.40 1998/01/11 04:45:36 brian Exp $
+ * $Id: route.c,v 1.41 1998/01/19 02:59:33 brian Exp $
*
*/
@@ -27,7 +27,6 @@
#include <net/if_types.h>
#include <net/route.h>
#include <net/if.h>
-#include <netinet/in_systm.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if_dl.h>
@@ -252,7 +251,7 @@ p_sockaddr(struct sockaddr *phost, struct sockaddr *pmask, int width)
fprintf(VarTerm, "%-*s ", width-1, buf);
}
-struct bits {
+static struct bits {
u_long b_mask;
char b_val;
} bits[] = {
OpenPOWER on IntegriCloud