mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
fix misspelled names in locally scoped code
These misspelled words are used in strictly local scopes. Renaming these variables should not cause any problems.
This commit is contained in:
+4
-4
@@ -77,7 +77,7 @@ int strncmp(FAR const char *, FAR const char *, size_t);
|
||||
int strcoll(FAR const char *, FAR const char *s2);
|
||||
FAR char *strcpy(FAR char *dest, FAR const char *src);
|
||||
FAR char *stpcpy(FAR char *dest, FAR const char *src);
|
||||
size_t strlcpy(FAR char *dst, FAR const char *src, size_t siz);
|
||||
size_t strlcpy(FAR char *dst, FAR const char *src, size_t size);
|
||||
FAR char *strncpy(FAR char *, FAR const char *, size_t);
|
||||
FAR char *stpncpy(FAR char *, FAR const char *, size_t);
|
||||
FAR char *strpbrk(FAR const char *, FAR const char *);
|
||||
@@ -166,10 +166,10 @@ fortify_function(stpncpy) FAR char *stpncpy(FAR char *dest,
|
||||
|
||||
fortify_function(strlcpy) size_t strlcpy(FAR char *dst,
|
||||
FAR const char *src,
|
||||
size_t siz)
|
||||
size_t size)
|
||||
{
|
||||
fortify_assert(siz <= fortify_size(dst, 0));
|
||||
return __real_strlcpy(dst, src, siz);
|
||||
fortify_assert(size <= fortify_size(dst, 0));
|
||||
return __real_strlcpy(dst, src, size);
|
||||
}
|
||||
|
||||
fortify_function(strncpy) FAR char *strncpy(FAR char *dest,
|
||||
|
||||
Reference in New Issue
Block a user