diff options
author | cognet <cognet@FreeBSD.org> | 2004-08-02 12:24:18 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-08-02 12:24:18 +0000 |
commit | 53db7b6142aa2256da46552e18b2be386a1cfc10 (patch) | |
tree | 06e990d83831bf507f98190d964552a0ad309946 /sys/arm/include | |
parent | ca5e850ced818de2c66d4adfd19d3486c845eabe (diff) | |
download | FreeBSD-src-53db7b6142aa2256da46552e18b2be386a1cfc10.zip FreeBSD-src-53db7b6142aa2256da46552e18b2be386a1cfc10.tar.gz |
*blush*
Fix htonl and htons.
Diffstat (limited to 'sys/arm/include')
-rw-r--r-- | sys/arm/include/endian.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/include/endian.h b/sys/arm/include/endian.h index 893ecc6..56d5d86 100644 --- a/sys/arm/include/endian.h +++ b/sys/arm/include/endian.h @@ -56,8 +56,8 @@ #define _QUAD_LOWWORD 0 #define __ntohl(x) (__bswap32(x)) #define __ntohs(x) (__bswap16(x)) -#define __htonl(x) (__bswap16(x)) -#define __htons(x) (__bswap32(x)) +#define __htonl(x) (__bswap32(x)) +#define __htons(x) (__bswap16(x)) static __inline __uint64_t __bswap64(__uint64_t _x) |