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:
parent
841d6f3ba6
commit
f5a1be80cd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue