diff options
author | otto <> | 2005-03-30 20:13:52 +0000 |
---|---|---|
committer | otto <> | 2005-03-30 20:13:52 +0000 |
commit | 862e6817b3f445520231811d27e5ba22fa2ed1c7 (patch) | |
tree | a84bc4f2badc3483fb1f0e8f1911cb99ac461521 /src/lib/libc/string/strlcat.c | |
parent | 894b6ab0099e7d9ca2ad9acb75246cd0a4542167 (diff) | |
download | openbsd-862e6817b3f445520231811d27e5ba22fa2ed1c7.tar.gz openbsd-862e6817b3f445520231811d27e5ba22fa2ed1c7.tar.bz2 openbsd-862e6817b3f445520231811d27e5ba22fa2ed1c7.zip |
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
Diffstat (limited to 'src/lib/libc/string/strlcat.c')
-rw-r--r-- | src/lib/libc/string/strlcat.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/string/strlcat.c b/src/lib/libc/string/strlcat.c index 2b6f1adbb4..952eed1a79 100644 --- a/src/lib/libc/string/strlcat.c +++ b/src/lib/libc/string/strlcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp $ */ | 1 | /* $OpenBSD: strlcat.c,v 1.12 2005/03/30 20:13:52 otto Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> | 4 | * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> |
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #if defined(LIBC_SCCS) && !defined(lint) | 19 | #if defined(LIBC_SCCS) && !defined(lint) |
20 | static char *rcsid = "$OpenBSD: strlcat.c,v 1.11 2003/06/17 21:56:24 millert Exp $"; | 20 | static char *rcsid = "$OpenBSD: strlcat.c,v 1.12 2005/03/30 20:13:52 otto Exp $"; |
21 | #endif /* LIBC_SCCS and not lint */ | 21 | #endif /* LIBC_SCCS and not lint */ |
22 | 22 | ||
23 | #include <sys/types.h> | 23 | #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 | |||
33 | size_t | 33 | size_t |
34 | strlcat(char *dst, const char *src, size_t siz) | 34 | strlcat(char *dst, const char *src, size_t siz) |
35 | { | 35 | { |
36 | register char *d = dst; | 36 | char *d = dst; |
37 | register const char *s = src; | 37 | const char *s = src; |
38 | register size_t n = siz; | 38 | size_t n = siz; |
39 | size_t dlen; | 39 | size_t dlen; |
40 | 40 | ||
41 | /* Find the end of dst and adjust bytes left but don't go past end */ | 41 | /* Find the end of dst and adjust bytes left but don't go past end */ |