diff options
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r-- | lib/libc/string/strncpy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index 771ebe6..90f8482 100644 --- a/lib/libc/string/strncpy.c +++ b/lib/libc/string/strncpy.c @@ -47,10 +47,7 @@ __FBSDID("$FreeBSD$"); * Return dst. */ char * -strncpy(dst, src, n) - char *dst; - const char *src; - size_t n; +strncpy(char *__restrict dst, const char *__restrict src, size_t n) { if (n != 0) { char *d = dst; |