diff options
author | Jeffrey Hsu <hsu@FreeBSD.org> | 2003-02-10 00:36:27 +0000 |
---|---|---|
committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2003-02-10 00:36:27 +0000 |
commit | 93eb73aa488637e0761a8e413b308bc3006d0564 (patch) | |
tree | 5f88293aa12629383c47bbf7acd276f5931273cb /sys/libkern/strncpy.c | |
parent | ffb37f33f84e7633774fdd776ec5a527d44c4c43 (diff) |
Notes
Diffstat (limited to 'sys/libkern/strncpy.c')
-rw-r--r-- | sys/libkern/strncpy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/libkern/strncpy.c b/sys/libkern/strncpy.c index a8b51a77bfc29..07039c352b12a 100644 --- a/sys/libkern/strncpy.c +++ b/sys/libkern/strncpy.c @@ -43,10 +43,7 @@ * Return dst. */ char * -strncpy(dst, src, n) - char *dst; - const char *src; - register size_t n; +strncpy(char * __restrict dst, const char * __restrict src, size_t n) { if (n != 0) { register char *d = dst; |