| Index: ports/glibc-compat/include/machine/endian.h
|
| diff --git a/ports/glibc-compat/include/machine/endian.h b/ports/glibc-compat/include/machine/endian.h
|
| index 497fdd44cc8040586320953bb7f998f3567bc51d..4e4f4185773a8253faf388a5d3d6f615f62b0519 100644
|
| --- a/ports/glibc-compat/include/machine/endian.h
|
| +++ b/ports/glibc-compat/include/machine/endian.h
|
| @@ -27,17 +27,11 @@ __inline_bswap_16 (unsigned short int x)
|
| return __byte_swap_constant_16(x);
|
| }
|
|
|
| -_ELIDABLE_INLINE unsigned long int
|
| -__inline_bswap_32 (unsigned long int x)
|
| -{
|
| - return __byte_swap_constant_32(x);
|
| -}
|
| -
|
| #define __byte_swap_16(x) \
|
| (__builtin_constant_p(x) ? __byte_swap_constant_16(x) : __inline_bswap_16(x))
|
|
|
| #define __byte_swap_32(x) \
|
| - (__builtin_constant_p(x) ? __byte_swap_constant_32(x) : __inline_bswap_32(x))
|
| + (__builtin_constant_p(x) ? __byte_swap_constant_32(x) : __builtin_bswap32(x))
|
|
|
| #define ntohs(x) (unsigned int)__byte_swap_16(x)
|
| #define ntohl(x) (unsigned int)__byte_swap_32(x)
|
|
|