From 55e1a055780fd7c12e67422ff0214e6f433a8e28 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Mon, 17 Mar 1997 00:51:51 +0000 Subject: [PATCH] Don't try to lint the gcc extension byte-swapping macros. Submitted by: Eivind Eklund --- sys/i386/include/endian.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h index c4f2d84b1f60..ebac340b1f25 100644 --- a/sys/i386/include/endian.h +++ b/sys/i386/include/endian.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)endian.h 7.8 (Berkeley) 4/3/91 - * $Id$ + * $Id: endian.h,v 1.13 1997/02/22 09:34:31 peter Exp $ */ #ifndef _MACHINE_ENDIAN_H_ @@ -96,7 +96,7 @@ __extension__ ({ register u_short __X = (x); \ /* * Macros for network/external number representation conversion. */ -#if BYTE_ORDER == BIG_ENDIAN && !defined(lint) +#if BYTE_ORDER == BIG_ENDIAN || defined(lint) #define ntohl(x) (x) #define ntohs(x) (x) #define htonl(x) (x)