修改拼写错误
This commit is contained in:
parent
ced9b44e63
commit
58f000bdce
|
@ -14,7 +14,7 @@
|
|||
* 2013-06-24 Bernard add rt_kprintf re-define when not use RT_USING_CONSOLE.
|
||||
* 2016-08-09 ArdaFu add new thread and interrupt hook.
|
||||
* 2018-11-22 Jesven add all cpu's lock and ipi handler
|
||||
* 2021-02-28 Meco Man add RT_KERVICE_USING_STDLIB
|
||||
* 2021-02-28 Meco Man add RT_KSERVICE_USING_STDLIB
|
||||
*/
|
||||
|
||||
#ifndef __RT_THREAD_H__
|
||||
|
@ -544,7 +544,7 @@ int __rt_ffs(int value);
|
|||
void *rt_memset(void *src, int c, rt_ubase_t n);
|
||||
void *rt_memcpy(void *dest, const void *src, rt_ubase_t n);
|
||||
|
||||
#ifndef RT_KERVICE_USING_STDLIB
|
||||
#ifndef RT_KSERVICE_USING_STDLIB
|
||||
void *rt_memmove(void *dest, const void *src, rt_ubase_t n);
|
||||
rt_int32_t rt_memcmp(const void *cs, const void *ct, rt_ubase_t count);
|
||||
char *rt_strstr(const char *str1, const char *str2);
|
||||
|
@ -565,7 +565,7 @@ rt_size_t rt_strlen(const char *src);
|
|||
#define rt_strcmp(cs, ct) strcmp(cs, ct)
|
||||
#define rt_strnlen(s, maxlen) strnlen(s, maxlen)
|
||||
#define rt_strlen(src) strlen(src)
|
||||
#endif /*RT_KERVICE_USING_STDLIB*/
|
||||
#endif /*RT_KSERVICE_USING_STDLIB*/
|
||||
|
||||
char *rt_strdup(const char *s);
|
||||
#if defined(__CC_ARM) || defined(__CLANG_ARM)
|
||||
|
|
|
@ -116,7 +116,7 @@ config RT_TIMER_THREAD_STACK_SIZE
|
|||
|
||||
endif
|
||||
|
||||
config RT_KERVICE_USING_STDLIB
|
||||
config RT_KSERVICE_USING_STDLIB
|
||||
bool "Enable kservice to use standard C library"
|
||||
default n
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* 2013-06-24 Bernard remove rt_kprintf if RT_USING_CONSOLE is not defined.
|
||||
* 2013-09-24 aozima make sure the device is in STREAM mode when used by rt_kprintf.
|
||||
* 2015-07-06 Bernard Add rt_assert_handler routine.
|
||||
* 2021-02-28 Meco Man add RT_KERVICE_USING_STDLIB
|
||||
* 2021-02-28 Meco Man add RT_KSERVICE_USING_STDLIB
|
||||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
|
@ -281,7 +281,7 @@ RT_WEAK void *rt_memcpy(void *dst, const void *src, rt_ubase_t count)
|
|||
}
|
||||
RTM_EXPORT(rt_memcpy);
|
||||
|
||||
#ifndef RT_KERVICE_USING_STDLIB
|
||||
#ifndef RT_KSERVICE_USING_STDLIB
|
||||
|
||||
/**
|
||||
* This function will move memory content from source address to destination
|
||||
|
@ -509,7 +509,7 @@ rt_size_t rt_strlen(const char *s)
|
|||
}
|
||||
RTM_EXPORT(rt_strlen);
|
||||
|
||||
#endif /*RT_KERVICE_USING_STDLIB*/
|
||||
#endif /*RT_KSERVICE_USING_STDLIB*/
|
||||
|
||||
#ifdef RT_USING_HEAP
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue