Whamcloud - gitweb
libext2fs: use ext2fs byte swap functions for portability
authorTheodore Ts'o <tytso@mit.edu>
Thu, 29 Sep 2011 00:27:03 +0000 (20:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Sep 2011 00:27:03 +0000 (20:27 -0400)
commita378bd5a5a80656ad1782ee80fa301a5ecb10ecb
treea1360fb08180f9bfed29a3fcc71aca7362f0a95a
parent38a420bfce58a4f32685e41104cd1dc4fd7d5013
libext2fs: use ext2fs byte swap functions for portability

The functions htole32(), le32toh(), be32toh(), htobe32() aren't
defined in all environments.  Use the ext2fs byte swap functions for
portability.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/crc32c_defs.h