gmio_core: rename GMIO_ENDIANNESS_OTHER to GMIO_ENDIANNESS_UNKNOWN
This commit is contained in:
parent
2af6e06380
commit
027f9bfc2a
@ -34,6 +34,6 @@ gmio_endianness_t gmio_host_endianness()
|
||||
return GMIO_ENDIANNESS_LITTLE;
|
||||
if (conv.bytes[0] == 0x01 && conv.bytes[3] == 0x08)
|
||||
return GMIO_ENDIANNESS_BIG;
|
||||
return GMIO_ENDIANNESS_OTHER;
|
||||
return GMIO_ENDIANNESS_UNKNOWN;
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,9 @@
|
||||
/*! This enum identifies common endianness (byte order) of computer memory */
|
||||
enum gmio_endianness
|
||||
{
|
||||
/*! Other (unknown) byte-order */
|
||||
GMIO_ENDIANNESS_UNKNOWN = 0,
|
||||
|
||||
/*! The least significant byte is stored at the lowest address. The other
|
||||
* bytes follow in increasing order of significance */
|
||||
GMIO_ENDIANNESS_LITTLE,
|
||||
@ -33,9 +36,6 @@ enum gmio_endianness
|
||||
* bytes follow in decreasing order of significance */
|
||||
GMIO_ENDIANNESS_BIG,
|
||||
|
||||
/*! Other (unknown) byte-order */
|
||||
GMIO_ENDIANNESS_OTHER,
|
||||
|
||||
#ifdef GMIO_HOST_IS_BIG_ENDIAN
|
||||
GMIO_ENDIANNESS_HOST = GMIO_ENDIANNESS_BIG
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user