From owner-freebsd-bugs Wed May 7 07:04:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA23970 for bugs-outgoing; Wed, 7 May 1997 07:04:18 -0700 (PDT) Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA23964; Wed, 7 May 1997 07:04:11 -0700 (PDT) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.8.5/8.8.5) with ESMTP id HAA23394; Wed, 7 May 1997 07:04:10 -0700 (PDT) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.5/8.8.5) with SMTP id HAA19223; Wed, 7 May 1997 07:04:09 -0700 (PDT) Date: Wed, 7 May 1997 07:04:08 -0700 (PDT) From: Chris Timmons To: Bill Fenner cc: freebsd-bugs@hub.freebsd.org Subject: Re: i386/3353 In-Reply-To: <199705060608.XAA18581@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Probably you can close this as bde fixed it shortly after I reported it. At first I thought I'd really broken something in my local bits :) bde 97/04/20 04:44:33 Modified: sys/i386/include endian.h Log: Fixed linting of and compilation of the gcc byte-swapping macros properly. Simply don't use the gcc macros if we're not gcc, and declare prototypes for the byte-swapping functions in case the macro versions are not used. The previous fix was wrong and broke libpcap, which abuses -Dlint. Don't pollute the namespace if _POSIX_SOURCE is defined. This is broken - it makes almost everything in inaccessible if _POSIX_SOURCE is defined, yet is not a POSIX header. Other systems don't do it any better. Removed always-false `BYTE_ORDER == BIG_ENDIAN' ifdef. Obtained from: partly from Lite(2?) and NetBSD Revision Changes Path 1.15 +12 -15 src/sys/i386/include/endian.h On Mon, 5 May 1997, Bill Fenner wrote: > Synopsis: NTOHS(x) related compiler warnings and libpcap disfunction > > Responsible-Changed-From-To: freebsd-bugs->fenner > Responsible-Changed-By: fenner > Responsible-Changed-When: Mon May 5 23:07:36 PDT 1997 > Responsible-Changed-Why: > fenner is merging new libpcap and tcpdump (See PR#bin/3371) >