summaryrefslogtreecommitdiff
path: root/lib/libc/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r--lib/libc/string/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c
index c43b88c8..b0541b44 100644
--- a/lib/libc/string/strncpy.c
+++ b/lib/libc/string/strncpy.c
@@ -1,4 +1,4 @@
-#include <stddef.h>
+#include <stddef.h> // for size_t
char *strncpy(char *restrict s1, const char *restrict s2, size_t n)
{