From 1ad600adaee6f05b82ab90b3d31e100d17eeccef Mon Sep 17 00:00:00 2001 From: wvdputte <> Date: Fri, 6 Nov 1998 04:33:16 +0000 Subject: [PATCH] add missing const to match prototype in string.h --- src/lib/libc/string/strlcpy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/libc/string/strlcpy.c b/src/lib/libc/string/strlcpy.c index 1a604455..2b6a1661 100644 --- a/src/lib/libc/string/strlcpy.c +++ b/src/lib/libc/string/strlcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strlcpy.c,v 1.1 1998/07/01 01:29:45 millert Exp $ */ +/* $OpenBSD: strlcpy.c,v 1.2 1998/11/06 04:33:16 wvdputte Exp $ */ /* * Copyright (c) 1998 Todd C. Miller @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strlcpy.c,v 1.1 1998/07/01 01:29:45 millert Exp $"; +static char *rcsid = "$OpenBSD: strlcpy.c,v 1.2 1998/11/06 04:33:16 wvdputte Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -41,7 +41,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.1 1998/07/01 01:29:45 millert Exp */ size_t strlcpy(dst, src, siz) char *dst; - char *src; + const char *src; size_t siz; { register char *d = dst;