endian: use byteswap.h where available
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 07:21:22 +0000 (17:51 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 07:21:22 +0000 (17:51 +1030)
commit1fb8ec9025a6b87839d743263b8ae742c1ffd856
tree8370ea2c5b677ab50bd25f4331f6f3f519aede58
parent1dcd3ad51bbeb4ba8048b08d62278df8e428031a
endian: use byteswap.h where available

And use those names, too.
ccan/endian/_info
ccan/endian/endian.h
ccan/endian/test/run.c