Skip to content

Commit be2a341

Browse files
committed
Remove old definition of "reverse" from stdlib_noniso
Fixes: #5045
1 parent acb1155 commit be2a341

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: cores/esp32/stdlib_noniso.c

-12
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@
2929
#include <math.h>
3030
#include "stdlib_noniso.h"
3131

32-
void reverse(char* begin, char* end) {
33-
char *is = begin;
34-
char *ie = end - 1;
35-
while(is < ie) {
36-
char tmp = *ie;
37-
*ie = *is;
38-
*is = tmp;
39-
++is;
40-
--ie;
41-
}
42-
}
43-
4432
char* ltoa(long value, char* result, int base) {
4533
if(base < 2 || base > 16) {
4634
*result = 0;

0 commit comments

Comments
 (0)