Help lint out a bit; wrap some functions (redefined as macros) in #ifdef.

This commit is contained in:
Mark Murray 2002-07-15 14:04:08 +00:00
parent bbf09ad887
commit c329aeecc6

View File

@ -270,6 +270,7 @@ __uint16_t ntohs(__uint16_t);
__END_DECLS
#endif
#ifndef lint
#ifndef _BYTEORDER_FUNC_DEFINED
#define _BYTEORDER_FUNC_DEFINED
#define htonl(x) __htonl(x)
@ -277,6 +278,7 @@ __END_DECLS
#define ntohl(x) __ntohl(x)
#define ntohs(x) __ntohs(x)
#endif /* !_BYTEORDER_FUNC_DEFINED */
#endif /* lint */
#endif /* _KERNEL */
/*