aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
commit702a1d0148d33e08908c8bb8822dd65d9ffb6d7e (patch)
tree921b9687fd07168367a910cfcaa9fef197354830 /usr.sbin
parent8766942543577317616764f8758dea3d27e1f1b8 (diff)
Update to match changes in <net/if.h>.
Notes
Notes: svn path=/head/; revision=21264
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/amd/fsinfo/fsinfo.h4
-rw-r--r--usr.sbin/arp/arp.c3
-rw-r--r--usr.sbin/mrouted/defs.h5
-rw-r--r--usr.sbin/ppp/arp.c3
-rw-r--r--usr.sbin/ppp/os.c3
-rw-r--r--usr.sbin/pppd/sys-bsd.c3
-rw-r--r--usr.sbin/rarpd/rarpd.c16
-rw-r--r--usr.sbin/slstat/slstat.c3
8 files changed, 18 insertions, 22 deletions
diff --git a/usr.sbin/amd/fsinfo/fsinfo.h b/usr.sbin/amd/fsinfo/fsinfo.h
index 1483337e9c1d..4ef86e1523e5 100644
--- a/usr.sbin/amd/fsinfo/fsinfo.h
+++ b/usr.sbin/amd/fsinfo/fsinfo.h
@@ -37,7 +37,7 @@
*
* @(#)fsinfo.h 8.1 (Berkeley) 6/6/93
*
- * $Id: fsinfo.h,v 1.1.1.1 1994/05/26 05:22:18 rgrimes Exp $
+ * $Id: fsinfo.h,v 1.2 1996/12/10 17:00:31 wollman Exp $
*
*/
@@ -83,7 +83,7 @@ typedef char *voidp;
#include <sys/time.h>
#include <netinet/in.h>
#include <net/if.h>
-#include <netinet/if_ether.h>
+#include <net/ethernet.h>
#include "fsi_data.h"
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index 7b6ac2bcc10b..f606a7fbb228 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -42,7 +42,7 @@ static char const copyright[] =
#ifndef lint
static char const sccsid[] = "@(#)from: arp.c 8.2 (Berkeley) 1/2/94";
-static char const freebsdid[] = "$Id: arp.c,v 1.5 1996/12/10 17:00:34 wollman Exp $";
+static char const freebsdid[] = "$Id: arp.c,v 1.6 1996/12/19 19:33:10 nate Exp $";
#endif /* not lint */
/*
@@ -59,6 +59,7 @@ static char const freebsdid[] = "$Id: arp.c,v 1.5 1996/12/10 17:00:34 wollman Ex
#include <sys/time.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_dl.h>
#include <net/if_types.h>
#include <net/route.h>
diff --git a/usr.sbin/mrouted/defs.h b/usr.sbin/mrouted/defs.h
index 4e19349ff061..c9e97c87a936 100644
--- a/usr.sbin/mrouted/defs.h
+++ b/usr.sbin/mrouted/defs.h
@@ -7,7 +7,7 @@
* Leland Stanford Junior University.
*
*
- * $Id: defs.h,v 3.8.1.2 1996/09/05 19:00:20 fenner Exp $
+ * $Id: defs.h,v 1.7 1996/11/11 03:49:57 fenner Exp $
*/
@@ -28,6 +28,9 @@
#endif
#include <sys/time.h>
#include <net/if.h>
+#define rtentry kern_rtentry /* XXX !!! UGH */
+#include <net/route.h>
+#undef rtentry
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c
index 5faa46f9227c..74a0f215d957 100644
--- a/usr.sbin/ppp/arp.c
+++ b/usr.sbin/ppp/arp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: arp.c,v 1.4 1996/01/11 17:48:34 phk Exp $
+ * $Id: arp.c,v 1.5 1996/05/11 20:48:09 phk Exp $
*
*/
@@ -35,6 +35,7 @@
#include <string.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/route.h>
#include <net/if_dl.h>
#include <netinet/in.h>
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c
index f7e70576a5d3..5998d0e5ba5f 100644
--- a/usr.sbin/ppp/os.c
+++ b/usr.sbin/ppp/os.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: os.c,v 1.7 1996/06/03 21:35:21 gpalmer Exp $
+ * $Id: os.c,v 1.8 1996/12/10 17:00:38 wollman Exp $
*
*/
#include "fsm.h"
@@ -33,6 +33,7 @@
#include <errno.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_tun.h>
#include <net/route.h>
#include <arpa/inet.h>
diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c
index a07bb24a7c06..d6f90b7e2582 100644
--- a/usr.sbin/pppd/sys-bsd.c
+++ b/usr.sbin/pppd/sys-bsd.c
@@ -19,7 +19,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: sys-bsd.c,v 1.6 1996/03/01 19:29:44 phk Exp $";
+static char rcsid[] = "$Id: sys-bsd.c,v 1.7 1996/08/13 09:16:49 peter Exp $";
#endif
/*
@@ -41,6 +41,7 @@ static char rcsid[] = "$Id: sys-bsd.c,v 1.6 1996/03/01 19:29:44 phk Exp $";
#include <sys/stat.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/ppp_defs.h>
#include <net/if_ppp.h>
#include <net/route.h>
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c
index 0d9aa03d0f1d..62f63483f8bf 100644
--- a/usr.sbin/rarpd/rarpd.c
+++ b/usr.sbin/rarpd/rarpd.c
@@ -26,7 +26,7 @@ The Regents of the University of California. All rights reserved.\n";
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /home/ncvs/src/usr.sbin/rarpd/rarpd.c,v 1.10 1996/11/19 23:57:06 wpaul Exp $ (LBL)";
+ "$Id: /home/ncvs/src/usr.sbin/rarpd/rarpd.c,v 1.12 1996/11/27 20:45:10 fenner Exp $";
#endif
/*
@@ -46,14 +46,10 @@ static const char rcsid[] =
#include <net/bpf.h>
#include <net/if.h>
-
-#if BSD >= 199100
+#include <net/if_var.h>
#include <net/if_types.h>
#include <net/if_dl.h>
-#if BSD >= 199200
#include <net/route.h>
-#endif
-#endif
#include <netinet/in.h>
#include <netinet/if_ether.h>
@@ -65,16 +61,8 @@ static const char rcsid[] =
#include <stdio.h>
#include <string.h>
#include <syslog.h>
-#if BSD >= 199200
#include <stdlib.h>
#include <unistd.h>
-#else
-
-extern char *optarg;
-extern int optind, opterr;
-
-extern int errno;
-#endif
#if defined(SUNOS4) || defined(__FreeBSD__) /* XXX */
#define HAVE_DIRENT_H
diff --git a/usr.sbin/slstat/slstat.c b/usr.sbin/slstat/slstat.c
index 54d344da498f..a23b6ba3b396 100644
--- a/usr.sbin/slstat/slstat.c
+++ b/usr.sbin/slstat/slstat.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: slstat.c,v 1.7 1996/11/04 17:14:43 bde Exp $";
+ "$Id: slstat.c,v 1.8 1996/12/10 17:00:45 wollman Exp $";
#endif
#include <sys/param.h>
@@ -44,6 +44,7 @@ static const char rcsid[] =
#define INET
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_mib.h>
#include <net/if_types.h>
#include <netinet/in.h>