summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcslcat.c
diff options
context:
space:
mode:
authorespie <>2005-06-19 22:12:07 +0000
committerespie <>2005-06-19 22:12:07 +0000
commitdd611c3aaf84a5329ce7642bf97e61f4fa7f2d65 (patch)
tree4449ef0e49aca9138958d50858c3ce50255544ca /src/lib/libc/string/wcslcat.c
parent7019160947103ed769aa02b61ad609c0822a53cc (diff)
downloadopenbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.tar.gz
openbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.tar.bz2
openbsd-dd611c3aaf84a5329ce7642bf97e61f4fa7f2d65.zip
K&R -> ANSI
APIWARN okay millert@, otto@
Diffstat (limited to 'src/lib/libc/string/wcslcat.c')
-rw-r--r--src/lib/libc/string/wcslcat.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/string/wcslcat.c b/src/lib/libc/string/wcslcat.c
index 266d012ad4..e74d52f4eb 100644
--- a/src/lib/libc/string/wcslcat.c
+++ b/src/lib/libc/string/wcslcat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wcslcat.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ 1/* $OpenBSD: wcslcat.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
2/* $NetBSD: wcslcat.c,v 1.2 2001/01/03 14:33:02 lukem Exp $ */ 2/* $NetBSD: wcslcat.c,v 1.2 2001/01/03 14:33:02 lukem Exp $ */
3/* from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp */ 3/* from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp */
4 4
@@ -30,7 +30,7 @@
30 */ 30 */
31 31
32#if defined(LIBC_SCCS) && !defined(lint) 32#if defined(LIBC_SCCS) && !defined(lint)
33static char *rcsid = "$OpenBSD: wcslcat.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; 33static char *rcsid = "$OpenBSD: wcslcat.c,v 1.2 2005/06/19 22:12:07 espie Exp $";
34#endif /* LIBC_SCCS and not lint */ 34#endif /* LIBC_SCCS and not lint */
35 35
36#include <sys/types.h> 36#include <sys/types.h>
@@ -44,10 +44,7 @@ static char *rcsid = "$OpenBSD: wcslcat.c,v 1.1 2005/04/13 16:35:58 espie Exp $"
44 * truncation occurred. 44 * truncation occurred.
45 */ 45 */
46size_t 46size_t
47wcslcat(dst, src, siz) 47wcslcat(wchar_t *dst, const wchar_t *src, size_t siz)
48 wchar_t *dst;
49 const wchar_t *src;
50 size_t siz;
51{ 48{
52 wchar_t *d = dst; 49 wchar_t *d = dst;
53 const wchar_t *s = src; 50 const wchar_t *s = src;