diff options
author | Ben Brewer <ben.brewer@codethink.co.uk> | 2014-05-29 16:26:35 +0100 |
---|---|---|
committer | Ben Brewer <ben.brewer@codethink.co.uk> | 2014-06-02 11:03:00 +0100 |
commit | d1173fe9e53269a3e07499f3299019e464ab5774 (patch) | |
tree | b38c682c0d7cecfb2b396b1da00f793e85d78089 /tbdiff/tbdiff-io.h | |
parent | 83990c46886eaecd3b6ad3c4ebbc67757514f8ee (diff) | |
download | tbdiff-d1173fe9e53269a3e07499f3299019e464ab5774.tar.gz |
Simplify endian swapping in tbdiff-io.c
Simplify the endian swapping by always calling the endian macro
and only implementing it when the platform is big-endain.
The endian swapping function has also been made a little more
obvious and now uses a byteswap inline function to swap the bytes.
Diffstat (limited to 'tbdiff/tbdiff-io.h')
0 files changed, 0 insertions, 0 deletions