mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 21:06:58 +08:00
More trailing whilespace removal
This commit is contained in:
@@ -55,7 +55,7 @@ char *strpbrk(const char *str, const char *charset)
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* Check each character in the string */
|
||||
|
||||
while (*str)
|
||||
|
||||
@@ -56,7 +56,7 @@ static char *g_saveptr = NULL;
|
||||
* The strtok() function parses a string into a
|
||||
* sequence of tokens. On the first call to strtok() the
|
||||
* string to be parsed should be specified in 'str'. In
|
||||
* each subsequent call that should parse the same string,
|
||||
* each subsequent call that should parse the same string,
|
||||
* 'str' should be NULL.
|
||||
*
|
||||
* The 'delim' argument specifies a set of characters that
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
* that parse the same string.
|
||||
*
|
||||
* On the first call to strtok_r(), 'str' should point to the
|
||||
* string to be parsed, and the value of 'saveptr' is
|
||||
* string to be parsed, and the value of 'saveptr' is
|
||||
* ignored. In subsequent calls, 'str' should be NULL, and
|
||||
* saveptr should be unchanged since the previous call.
|
||||
*
|
||||
|
||||
@@ -11,27 +11,27 @@
|
||||
* - Use of types defined in stdint.h
|
||||
* - Integration with the NuttX configuration system
|
||||
* - Other cosmetic changes for consistency with NuttX coding standards
|
||||
*
|
||||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty. In no event will the authors be held liable for any
|
||||
* damages arising from the use of this software.
|
||||
* Permission is granted to anyone to use this software for any
|
||||
* purpose, including commercial applications, and to alter it and
|
||||
* redistribute it freely, subject to the following restrictions:
|
||||
*
|
||||
*
|
||||
* 1. The origin of this software must not be misrepresented; you
|
||||
* must not claim that you wrote the original software. If you
|
||||
* use this software in a product, an acknowledgment in the
|
||||
* use this software in a product, an acknowledgment in the
|
||||
* product documentation would be appreciated but is not
|
||||
* required.
|
||||
*
|
||||
*
|
||||
* 2. Altered source versions must be plainly marked as such, and
|
||||
* must not be misrepresented as being the original software.
|
||||
*
|
||||
*
|
||||
* 3. This notice may not be removed or altered from any source
|
||||
* distribution.
|
||||
*
|
||||
*
|
||||
* Description: Implementation of the standard library function memcpy.
|
||||
* This implementation of memcpy() is ANSI-C89 compatible.
|
||||
*
|
||||
@@ -310,7 +310,7 @@ typedef uint32_t UIntN;
|
||||
*
|
||||
*******************************************************************/
|
||||
|
||||
void *memcpy(void *dest, const void *src, size_t count)
|
||||
void *memcpy(void *dest, const void *src, size_t count)
|
||||
{
|
||||
uint8_t *dst8 = (uint8_t*)dest;
|
||||
uint8_t *src8 = (uint8_t*)src;
|
||||
|
||||
Reference in New Issue
Block a user