libc: strncat: match implementation to declaration

The identifiers used in the declaration and definition of a function
shall be identical [MISRAC2012-RULE_8_3-b]

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-03-27 10:53:30 -04:00
parent 841d6f3ba6
commit f5a1be80cd
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ extern int strncmp(const char *s1, const char *s2, size_t n);
extern char *strtok_r(char *str, const char *sep, char **state);
extern char *strcat(char *_MLIBC_RESTRICT dest,
const char *_MLIBC_RESTRICT src);
extern char *strncat(char *_MLIBC_RESTRICT d, const char *_MLIBC_RESTRICT s,
extern char *strncat(char *_MLIBC_RESTRICT dest, const char *_MLIBC_RESTRICT src,
size_t n);
extern char *strstr(const char *s, const char *find);