Clean up native-endianness tests
authorAndreas Robinson <andr345@gmail.com>
Tue, 21 Apr 2009 17:32:45 +0000 (19:32 +0200)
committerJon Masters <jcm@jonmasters.org>
Thu, 30 Apr 2009 19:29:34 +0000 (15:29 -0400)
commitab89ed8a188b38332e00e4a6b1bfce7c855e8aa5
treed1dd8e1527a3ae155910048a2869fb04d19b00c9
parent1caeed659e3b3c527f6db3e51211dd727948f98b
Clean up native-endianness tests

Adds a endianness test function called native_endianness().
It has very low overhead (possibly none) compared to a simple
variable assignment.

Signed-off-by: Andreas Robinson <andr345@gmail.com>
Signed-off-by: Jon Masters <jcm@jonmasters.org>
depmod.c
depmod.h
modinfo.c
util.c
util.h