1
0

fwrite_le.*: rename reorder_le_for_be -> reorder_le_be

This commit is contained in:
Intel A80486DX2-66 2024-01-24 19:59:05 +03:00
parent 9c72568e00
commit 2b2786ab2c
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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