Sync with sys/endian.h: s/const/__const__/ in __attribute__
This commit is contained in:
parent
33f672908d
commit
4fb9f81ff9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: endian.h,v 1.10 2006/11/16 22:55:25 uwe Exp $ */
|
||||
/* $NetBSD: endian.h,v 1.11 2006/11/16 23:01:16 uwe Exp $ */
|
||||
|
||||
/* Windows CE architecture */
|
||||
|
||||
|
@ -82,10 +82,10 @@ typedef __in_port_t in_port_t;
|
|||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
uint32_t htonl(uint32_t) __attribute__((const));
|
||||
uint16_t htons(uint16_t) __attribute__((const));
|
||||
uint32_t ntohl(uint32_t) __attribute__((const));
|
||||
uint16_t ntohs(uint16_t) __attribute__((const));
|
||||
uint32_t htonl(uint32_t) __attribute__((__const__));
|
||||
uint16_t htons(uint16_t) __attribute__((__const__));
|
||||
uint32_t ntohl(uint32_t) __attribute__((__const__));
|
||||
uint16_t ntohs(uint16_t) __attribute__((__const__));
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_LOCORE */
|
||||
|
|
Loading…
Reference in New Issue