Skip to content

Commit 3780b5c

Browse files
authoredJul 26, 2021
Unbreak integer to string conversion functions. (#5423) (#5438)
1 parent 1775dd1 commit 3780b5c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎cores/esp32/stdlib_noniso.c

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
#include "stdlib_noniso.h"
3131
#include "esp_system.h"
3232

33-
#if !CONFIG_DSP_ANSI && !CONFIG_DSP_OPTIMIZED
34-
void reverse(char* begin, char* end) {
33+
static void reverse(char* begin, char* end) {
3534
char *is = begin;
3635
char *ie = end - 1;
3736
while(is < ie) {
@@ -42,9 +41,6 @@ void reverse(char* begin, char* end) {
4241
--ie;
4342
}
4443
}
45-
#else
46-
void reverse(char* begin, char* end);
47-
#endif
4844

4945
char* ltoa(long value, char* result, int base) {
5046
if(base < 2 || base > 16) {

0 commit comments

Comments
 (0)
Please sign in to comment.