diff options
| author | 2005-03-30 20:13:52 +0000 | |
|---|---|---|
| committer | 2005-03-30 20:13:52 +0000 | |
| commit | a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b (patch) | |
| tree | 46498c6c87fbff4ce10ffcfa34199c65ceae8b49 /lib/libc/string/strlcat.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.tar.xz wireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.zip | |
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
Diffstat (limited to 'lib/libc/string/strlcat.c')
| -rw-r--r-- | lib/libc/string/strlcat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/strlcat.c b/lib/libc/string/strlcat.c index 2b6f1adbb4c..952eed1a794 100644 --- a/lib/libc/string/strlcat.c +++ b/lib/libc/string/strlcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp $ */ +/* $OpenBSD: strlcat.c,v 1.12 2005/03/30 20:13:52 otto 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: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp $"; +static char *rcsid = "$OpenBSD: strlcat.c,v 1.12 2005/03/30 20:13:52 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -33,9 +33,9 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp size_t strlcat(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; size_t dlen; /* Find the end of dst and adjust bytes left but don't go past end */ |
