blob: 961300b5b4c6f72faa4a43ddc927314ef3c04355 [file] [log] [blame]
#include <endian.h>
#include <stdint.h>
uint32_t bswap_32(uint32_t);
uint64_t bswap_64(uint64_t x)
{
return bswap_32(x)+0LL<<32 | bswap_32(x>>32);
}