diff --git a/src/fwrite_le.c b/src/fwrite_le.c index 30e7906..1c56322 100644 --- a/src/fwrite_le.c +++ b/src/fwrite_le.c @@ -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 diff --git a/src/fwrite_le.h b/src/fwrite_le.h index cc56b02..82395e8 100644 --- a/src/fwrite_le.h +++ b/src/fwrite_le.h @@ -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