mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
libc/string: Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
9785d6606c
commit
34e17ba0ce
@@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
#ifndef CONFIG_ARCH_STRCAT
|
#ifndef CONFIG_ARCH_STRCAT
|
||||||
#undef strcat /* See mm/README.txt */
|
#undef strcat /* See mm/README.txt */
|
||||||
char *strcat(char *dest, const char *src)
|
FAR char *strcat(FAR char *dest, FAR const char *src)
|
||||||
{
|
{
|
||||||
char *ret = dest;
|
FAR char *ret = dest;
|
||||||
|
|
||||||
dest += strlen(dest);
|
dest += strlen(dest);
|
||||||
while (*src != '\0')
|
while (*src != '\0')
|
||||||
|
|||||||
@@ -77,8 +77,8 @@
|
|||||||
|
|
||||||
FAR char *strtok_r(FAR char *str, FAR const char *delim, FAR char **saveptr)
|
FAR char *strtok_r(FAR char *str, FAR const char *delim, FAR char **saveptr)
|
||||||
{
|
{
|
||||||
char *pbegin;
|
FAR char *pbegin;
|
||||||
char *pend = NULL;
|
FAR char *pend = NULL;
|
||||||
|
|
||||||
/* Decide if we are starting a new string or continuing from
|
/* Decide if we are starting a new string or continuing from
|
||||||
* the point we left off.
|
* the point we left off.
|
||||||
|
|||||||
@@ -51,12 +51,6 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Configuration definitions.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#define CONFIG_MEMCPY_INDEXED_COPY
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user