summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcslcat.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-06-19 22:12:07 +0000
committerespie <espie@openbsd.org>2005-06-19 22:12:07 +0000
commit1c031cf62e216db155a07bad4d48b1226f6cd6e5 (patch)
tree53341afeb32c1bb268d648e60afd1e55e19a72bf /lib/libc/string/wcslcat.c
parentUpdate to sudo 1.6.8p9 (diff)
downloadwireguard-openbsd-1c031cf62e216db155a07bad4d48b1226f6cd6e5.tar.xz
wireguard-openbsd-1c031cf62e216db155a07bad4d48b1226f6cd6e5.zip
K&R -> ANSI
APIWARN okay millert@, otto@
Diffstat (limited to 'lib/libc/string/wcslcat.c')
-rw-r--r--lib/libc/string/wcslcat.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/string/wcslcat.c b/lib/libc/string/wcslcat.c
index 266d012ad41..e74d52f4ebb 100644
--- a/lib/libc/string/wcslcat.c
+++ b/lib/libc/string/wcslcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcslcat.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */
+/* $OpenBSD: wcslcat.c,v 1.2 2005/06/19 22:12:07 espie Exp $ */
/* $NetBSD: wcslcat.c,v 1.2 2001/01/03 14:33:02 lukem Exp $ */
/* from OpenBSD: strlcat.c,v 1.3 2000/11/24 11:10:02 itojun Exp */
@@ -30,7 +30,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: wcslcat.c,v 1.1 2005/04/13 16:35:58 espie Exp $";
+static char *rcsid = "$OpenBSD: wcslcat.c,v 1.2 2005/06/19 22:12:07 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#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 $"
* truncation occurred.
*/
size_t
-wcslcat(dst, src, siz)
- wchar_t *dst;
- const wchar_t *src;
- size_t siz;
+wcslcat(wchar_t *dst, const wchar_t *src, size_t siz)
{
wchar_t *d = dst;
const wchar_t *s = src;