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:
Lars Kruse
2025-05-02 11:31:19 +02:00
committed by Xiang Xiao
parent ce99762b36
commit 4568110d63
30 changed files with 184 additions and 184 deletions
+4 -4
View File
@@ -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,