]> git.ipfire.org Git - thirdparty/kmod.git/commit
Add back-up implementation of be32toh()
authorRandy MacLeod <Randy.MacLeod@windriver.com>
Mon, 29 Sep 2014 19:18:04 +0000 (21:18 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 29 Sep 2014 20:13:26 +0000 (17:13 -0300)
commit9b34db1ae63427269f918b2868b4cfcb50e6259b
treeaeb8bff2036564f8199f1efb686feb268ee65efb
parent419b7003af06329cf7336b298fba08f962631184
Add back-up implementation of be32toh()

Older systems may not have the be32toh function defined. Check for this
and fall back to checking the endianness and calling bswap_32 directly
if needed.  This works on both old and new systems.

[Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>:
address comments raised by Lucas De Marchi [1], update commit message]
[1] http://www.spinics.net/lists/linux-modules/msg01129.html
configure.ac
libkmod/libkmod-signature.c
libkmod/missing.h