diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2002-08-14 22:59:22 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2002-08-14 22:59:22 +0000 |
commit | ad906968153f7b35f2e92b49936a22f44d5aa0c0 (patch) | |
tree | 9df4940afbb539047f1629f3d07676734213430e /lib/libc/string/strncpy.c | |
parent | d542f511a0b87b12a2b2459f8995921449f86c82 (diff) |
Notes
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 771ebe60f091..90f848242766 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; |