From 3780b5c9244761b511a67db3584e59663efdb124 Mon Sep 17 00:00:00 2001 From: rtrbt <9214823+rtrbt@users.noreply.github.com> Date: Mon, 26 Jul 2021 15:06:13 +0200 Subject: [PATCH] Unbreak integer to string conversion functions. (#5423) (#5438) --- cores/esp32/stdlib_noniso.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cores/esp32/stdlib_noniso.c b/cores/esp32/stdlib_noniso.c index e68c92d0..8f24520d 100644 --- a/cores/esp32/stdlib_noniso.c +++ b/cores/esp32/stdlib_noniso.c @@ -30,8 +30,7 @@ #include "stdlib_noniso.h" #include "esp_system.h" -#if !CONFIG_DSP_ANSI && !CONFIG_DSP_OPTIMIZED -void reverse(char* begin, char* end) { +static void reverse(char* begin, char* end) { char *is = begin; char *ie = end - 1; while(is < ie) { @@ -42,9 +41,6 @@ void reverse(char* begin, char* end) { --ie; } } -#else -void reverse(char* begin, char* end); -#endif char* ltoa(long value, char* result, int base) { if(base < 2 || base > 16) {