Help lint out a bit; wrap some functions (redefined as macros) in #ifdef.
This commit is contained in:
parent
bbf09ad887
commit
c329aeecc6
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user