summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/endian.h
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-03-17 00:51:51 +0000
committernate <nate@FreeBSD.org>1997-03-17 00:51:51 +0000
commit52336caffb6002438ca3d2ac83b080a13cb04317 (patch)
treeb0a26830cb6ce92457c577612ee5ea8c16f6850a /sys/i386/include/endian.h
parent3e659767427f7c6dc631e36ed5364d7d7e128fe1 (diff)
downloadFreeBSD-src-52336caffb6002438ca3d2ac83b080a13cb04317.zip
FreeBSD-src-52336caffb6002438ca3d2ac83b080a13cb04317.tar.gz
Don't try to lint the gcc extension byte-swapping macros.
Submitted by: Eivind Eklund <eivind@dimaga.com>
Diffstat (limited to 'sys/i386/include/endian.h')
-rw-r--r--sys/i386/include/endian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h
index c4f2d84..ebac340 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)
OpenPOWER on IntegriCloud