summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strncpy.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 18:49:23 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 18:49:23 +0000
commit1196344bb37334ed0f8808056a53ca058758843c (patch)
tree12b252b7426e8a8904ef257bea10fea6038142f4 /lib/libc/string/strncpy.c
parent8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70 (diff)
downloadFreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.zip
FreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.tar.gz
Remove 'register' keyword.
Diffstat (limited to 'lib/libc/string/strncpy.c')
-rw-r--r--lib/libc/string/strncpy.c6
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) {
OpenPOWER on IntegriCloud