Don't try to lint the gcc extension byte-swapping macros.

Submitted by:	Eivind Eklund <eivind@dimaga.com>
This commit is contained in:
Nate Williams 1997-03-17 00:51:51 +00:00
parent 54a064002a
commit 55e1a05578
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23954

View File

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