Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 18:20:03 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-bugs@freebsd.org
Cc:        archie@freebsd.org
Subject:   [Fwd: Re: bin/20033: 'constify' MFC of sys/net/ethernet.h breaks RELENG_4's buildworld]
Message-ID:  <20000719182003.C266@ringwraith.oblivion.bg>

next in thread | raw e-mail | index | archive | help
Hmm something wrong with GNATS?  I'm pretty sure this email went out
on my end..

G'luck,
Peter Pentchev

-- 
I am the thought you are now thinking.

----- Forwarded message from Peter Pentchev <roam@orbitel.bg> -----

Date: Wed, 19 Jul 2000 16:45:01 +0300
From: Peter Pentchev <roam@orbitel.bg>
To: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/20033: 'constify' MFC of sys/net/ethernet.h breaks RELENG_4's buildworld
User-Agent: Mutt/1.2.4i
In-Reply-To: <200007191336.GAA68344@freefall.freebsd.org>; from sheldonh@FreeBSD.org on Wed, Jul 19, 2000 at 06:36:54AM -0700

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

--- 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>

----- End forwarded message -----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000719182003.C266>