summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rarpd/rarpd.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
committerwollman <wollman@FreeBSD.org>1997-01-03 20:19:50 +0000
commit5972643f58355298ad5382ed2e5cf054930f6927 (patch)
tree921b9687fd07168367a910cfcaa9fef197354830 /usr.sbin/rarpd/rarpd.c
parente9eee4f4075fde5691b87c6d72f173e550b0fb4c (diff)
downloadFreeBSD-src-5972643f58355298ad5382ed2e5cf054930f6927.zip
FreeBSD-src-5972643f58355298ad5382ed2e5cf054930f6927.tar.gz
Update to match changes in <net/if.h>.
Diffstat (limited to 'usr.sbin/rarpd/rarpd.c')
-rw-r--r--usr.sbin/rarpd/rarpd.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c
index 0d9aa03..62f6348 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
OpenPOWER on IntegriCloud