summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/strlcat.c5
-rw-r--r--src/common/strlcpy.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/src/common/strlcat.c b/src/common/strlcat.c
index b309648155..316733bccc 100644
--- a/src/common/strlcat.c
+++ b/src/common/strlcat.c
@@ -42,10 +42,7 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp
* If retval >= siz, truncation occurred.
*/
size_t
-strlcat(dst, src, siz)
- char *dst;
- const char *src;
- size_t siz;
+strlcat(char *dst, const char *src, size_t siz)
{
register char *d = dst;
register const char *s = src;
diff --git a/src/common/strlcpy.c b/src/common/strlcpy.c
index 2448ec06c8..142135aa3b 100644
--- a/src/common/strlcpy.c
+++ b/src/common/strlcpy.c
@@ -40,10 +40,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.2 1998/11/06 04:33:16 wvdputte Exp
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
-size_t strlcpy(dst, src, siz)
- char *dst;
- const char *src;
- size_t siz;
+size_t strlcpy(char *dst, const char *src, size_t siz)
{
register char *d = dst;
register const char *s = src;