From 9b60f79d2a35287b447a18ea50b1619cac524072 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Mon, 2 Aug 2004 12:24:18 +0000 Subject: [PATCH] *blush* Fix htonl and htons. --- sys/arm/include/endian.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/include/endian.h b/sys/arm/include/endian.h index 893ecc6890c..56d5d868db3 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)