Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 11:10:14 +0700 (NOVST)
From:      Nickolay Dudorov <nnd@mail.nsk.ru>
To:        current@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/net ethernet.h
Message-ID:  <200007190410.LAA67682@wint.itfs.nsk.su>
In-Reply-To: <200007182244.PAA33918@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200007182244.PAA33918@freefall.freebsd.org> Archie Cobbs <archie@freebsd.org> wrote:
> archie      2000/07/18 15:44:52 PDT
> 
>   Modified files:
>     sys/net              ethernet.h 
>   Log:
>   Const'ify parameters to ethers(3) routines as appropriate.
>   
>   Revision  Changes    Path
>   1.16      +6 -6      src/sys/net/ethernet.h

	This breaks 'buildworld' in the 'lib/libpcap'.

	The next patch seems to correct the error.

	N.Dudorov

Index: contrib/libpcap/nametoaddr.c
===================================================================
RCS file: /store/CVS/src/contrib/libpcap/nametoaddr.c,v
retrieving revision 1.6
diff -b -u -r1.6 nametoaddr.c
--- contrib/libpcap/nametoaddr.c	2000/01/30 00:43:34	1.6
+++ contrib/libpcap/nametoaddr.c	2000/07/19 04:02:27
@@ -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
 


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




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