diff options
Diffstat (limited to 'sys/lib/libkern/strlcpy.c')
-rw-r--r-- | sys/lib/libkern/strlcpy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/lib/libkern/strlcpy.c b/sys/lib/libkern/strlcpy.c index 7355cdf1ad4..b5150b7a05a 100644 --- a/sys/lib/libkern/strlcpy.c +++ b/sys/lib/libkern/strlcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strlcpy.c,v 1.4 2003/06/17 21:56:25 millert Exp $ */ +/* $OpenBSD: strlcpy.c,v 1.5 2004/08/07 00:38:33 deraadt Exp $ */ /* * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 2003/06/17 21:56:25 millert Exp $"; +static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2004/08/07 00:38:33 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #if !defined(_KERNEL) && !defined(_STANDALONE) @@ -35,9 +35,9 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 2003/06/17 21:56:25 millert Exp size_t strlcpy(char *dst, const char *src, size_t siz) { - register char *d = dst; - register const char *s = src; - register size_t n = siz; + char *d = dst; + const char *s = src; + size_t n = siz; /* Copy as many bytes as will fit */ if (n != 0 && --n != 0) { |