fwrite_le.*: rename reorder_le_for_be
-> reorder_le_be
This commit is contained in:
parent
9c72568e00
commit
2b2786ab2c
@ -17,7 +17,7 @@ int detect_endianness(void) {
|
||||
return UNSUPPORTED_ENDIANNESS;
|
||||
}
|
||||
|
||||
void reorder_le_for_be(
|
||||
void reorder_le_be(
|
||||
#if FWRITE_LE_NO_MODIFICATION
|
||||
uint8_t* dest, uint8_t* src,
|
||||
#else
|
||||
@ -66,7 +66,7 @@ size_t fwrite_le(void* ptr, size_t size, size_t count, FILE* stream) {
|
||||
memcpy(bytes, ptr, bytes_count);
|
||||
#endif
|
||||
|
||||
reorder_le_for_be(
|
||||
reorder_le_be(
|
||||
#if FWRITE_LE_NO_MODIFICATION
|
||||
bytes,
|
||||
#endif
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
int detect_endianness(void);
|
||||
size_t fwrite_le(void* ptr, size_t size, size_t count, FILE* stream);
|
||||
void reorder_le_for_be(
|
||||
void reorder_le_be(
|
||||
#if FWRITE_LE_NO_MODIFICATION
|
||||
uint8_t* dest, uint8_t* src,
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user