diff options
author | archie <archie@FreeBSD.org> | 2000-07-19 16:30:02 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-07-19 16:30:02 +0000 |
commit | 4b8df583be95d12be3440a0ff5787fc41fa9be5c (patch) | |
tree | bbc789a4b3f8d6b2bb990176e73e3ea2746205c5 | |
parent | d53bace8f95539dd81f3b253c51bd79f63128d7e (diff) | |
download | FreeBSD-src-4b8df583be95d12be3440a0ff5787fc41fa9be5c.zip FreeBSD-src-4b8df583be95d12be3440a0ff5787fc41fa9be5c.tar.gz |
Fix breakage caused by ether_aton() prototype change.
PR: bin/20033
-rw-r--r-- | contrib/ipfilter/iplang/iplang_y.y | 3 | ||||
-rw-r--r-- | usr.sbin/wlconfig/wlconfig.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ipfilter/iplang/iplang_y.y b/contrib/ipfilter/iplang/iplang_y.y index 95f3419..2809364 100644 --- a/contrib/ipfilter/iplang/iplang_y.y +++ b/contrib/ipfilter/iplang/iplang_y.y @@ -7,6 +7,7 @@ * to the original author and the contributors. * * $Id: iplang_y.y,v 2.2 1999/12/04 03:37:04 darrenr Exp $ + * $FreeBSD$ */ #include <stdio.h> @@ -48,7 +49,7 @@ #include "ipf.h" #include "iplang.h" -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) extern struct ether_addr *ether_aton __P((char *)); #endif diff --git a/usr.sbin/wlconfig/wlconfig.c b/usr.sbin/wlconfig/wlconfig.c index f6d7882..77f0221 100644 --- a/usr.sbin/wlconfig/wlconfig.c +++ b/usr.sbin/wlconfig/wlconfig.c @@ -66,10 +66,10 @@ static const char rcsid[] = #include <sys/time.h> #include <machine/if_wl_wavelan.h> +#include <net/ethernet.h> #include <net/if.h> #include <netinet/in.h> #include <netinet/if_ether.h> -extern struct ether_addr *ether_aton(char *a); #include <err.h> #include <stdio.h> |