summaryrefslogtreecommitdiff
path: root/bsp/efm32
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-23 03:21:16 +0800
committerMeco Man <[email protected]>2021-02-23 03:21:16 +0800
commitb2d3317c6a7954423167316436c949fbcb1ce61d (patch)
treeb421a707a6c838e4418cfb9e32ae1aca704ce8f1 /bsp/efm32
parentc21f018b4a6ea88e1cbec86514056629a25ccb67 (diff)
remove minilibc
Diffstat (limited to 'bsp/efm32')
-rw-r--r--bsp/efm32/copy_this_file_shell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bsp/efm32/copy_this_file_shell.c b/bsp/efm32/copy_this_file_shell.c
index 45ce3cb45a..32b7439e0d 100644
--- a/bsp/efm32/copy_this_file_shell.c
+++ b/bsp/efm32/copy_this_file_shell.c
@@ -32,14 +32,6 @@ ALIGN(RT_ALIGN_SIZE)
static char finsh_thread_stack[FINSH_THREAD_STACK_SIZE];
struct finsh_shell* shell;
-#if !defined (RT_USING_NEWLIB) && !defined (RT_USING_MINILIBC)
-int strcmp (const char *s1, const char *s2)
-{
- while (*s1 && *s1 == *s2) s1++, s2++;
-
- return (*s1 - *s2);
-}
-
#ifdef RT_USING_HEAP
char *strdup(const char *s)
{