From 56d25b0786527f92cea417423c0fc1d46587ebdc Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 30 Dec 2019 21:40:31 +0100 Subject: [PATCH] cppcheck --- armsrc/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/string.h b/armsrc/string.h index 781641fb9..0ebb4ab54 100644 --- a/armsrc/string.h +++ b/armsrc/string.h @@ -24,7 +24,7 @@ char *strcat(char *dest, const char *src); void strreverse(char s[]); void itoa(int n, char s[]); char *strcpy(char *dst, const char *src); -char *strncpy(char *destination, const char *source, size_t num); +char *strncpy(char *dst, const char *src, size_t n); int strcmp(const char *s1, const char *s2); char *strtok(char *s, const char *delim); char *strchr(const char *s, int c);