From 2b2786ab2cebd9a0b8cf535fecb1eafa7c20b483 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Wed, 24 Jan 2024 19:59:05 +0300 Subject: [PATCH] fwrite_le.*: rename `reorder_le_for_be` -> `reorder_le_be` --- src/fwrite_le.c | 4 ++-- src/fwrite_le.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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