| Summary: | 'constify' MFC of sys/net/ethernet.h breaks RELENG_4's buildworld | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Peter Pentchev <roam> | ||||
| Component: | bin | Assignee: | Archie Cobbs <archie> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Peter Pentchev
2000-07-19 14:10:04 UTC
Responsible Changed From-To: freebsd-bugs->archie Breakage related to archie's commit. Another, arguably much better, set of patches; the old ones were severely affected by a caffeine defficiency. These ones may even be sent to the libpcap and ipfilter teams - there is no need to redeclare the ether_*() functions on FreeBSD. G'luck, Peter Pentchev -- This would easier understand fewer had omitted. --- src/contrib/libpcap/nametoaddr.c Wed Jul 19 15:39:05 2000 +++ mysrc/contrib/libpcap/nametoaddr.c Wed Jul 19 16:30:05 2000 @@ -366,7 +366,7 @@ } #else -#if !defined(sgi) && !defined(__NetBSD__) +#if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) extern int ether_hostton(char *, struct ether_addr *); #endif --- src/contrib/ipfilter/iplang/iplang_y.y Wed Jul 19 15:42:23 2000 +++ mysrc/contrib/ipfilter/iplang/iplang_y.y Wed Jul 19 16:30:20 2000 @@ -48,7 +48,7 @@ #include "ipf.h" #include "iplang.h" -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) extern struct ether_addr *ether_aton __P((char *)); #endif --- src/usr.sbin/wlconfig/wlconfig.c Wed Jul 19 15:43:30 2000 +++ mysrc/usr.sbin/wlconfig/wlconfig.c Wed Jul 19 16:30:49 2000 @@ -69,7 +69,6 @@ #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> State Changed From-To: open->closed Applied the second set of patches from Peter Pentchev in the PR. |