summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcat.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-05-13 15:40:15 +0000
committerderaadt <deraadt@openbsd.org>2001-05-13 15:40:15 +0000
commit617bd2d3ba8282179aeb352f95be28be8e16d819 (patch)
treeee178eff0ae085c9a8cfc53fbefff95d1b27d6a2 /lib/libc/string/strlcat.c
parentinitial cut at /dev/crypto support. takes original mbuf "try, and discard (diff)
downloadwireguard-openbsd-617bd2d3ba8282179aeb352f95be28be8e16d819.tar.xz
wireguard-openbsd-617bd2d3ba8282179aeb352f95be28be8e16d819.zip
type of function on seperate line
Diffstat (limited to 'lib/libc/string/strlcat.c')
-rw-r--r--lib/libc/string/strlcat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/string/strlcat.c b/lib/libc/string/strlcat.c
index b8725c37ff2..b3096481554 100644
--- a/lib/libc/string/strlcat.c
+++ b/lib/libc/string/strlcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp $ */
+/* $OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp $";
+static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -41,7 +41,8 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.7 2001/05/07 15:42:46 millert Exp
* Returns strlen(src) + MIN(siz, strlen(initial dst)).
* If retval >= siz, truncation occurred.
*/
-size_t strlcat(dst, src, siz)
+size_t
+strlcat(dst, src, siz)
char *dst;
const char *src;
size_t siz;