diff options
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r-- | lib/libc/string/strncpy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strncpy.c b/lib/libc/string/strncpy.c index c9a0525..771ebe6 100644 --- a/lib/libc/string/strncpy.c +++ b/lib/libc/string/strncpy.c @@ -50,11 +50,11 @@ char * strncpy(dst, src, n) char *dst; const char *src; - register size_t n; + size_t n; { if (n != 0) { - register char *d = dst; - register const char *s = src; + char *d = dst; + const char *s = src; do { if ((*d++ = *s++) == 0) { |