fix silly name of inline bswap 16

This commit is contained in:
Andrew Tonner 2017-01-18 14:48:02 -08:00
parent e0783e5c20
commit 17b977b6ad

View File

@ -249,12 +249,12 @@ static inline uint64 tswap64(uint64 x) { return bswap_64(x); }
__v; }))
#else
inline uint16 funyun_bswap_16(uint16 x)
inline uint16 sysdeps_inline_bswap_16(uint16 x)
{
return ((x & 0xff) << 8) | ((x >> 8) & 0xff);
}
#define do_byteswap_16(x) (funyun_bswap_16(x))
#define do_byteswap_16(x) (sysdeps_inline_bswap_16(x))
#define do_byteswap_32(x) (do_byteswap_32_g(x))
#endif