diff options
Diffstat (limited to 'Utilities/cmtar/compat/strlcpy.c')
-rw-r--r-- | Utilities/cmtar/compat/strlcpy.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Utilities/cmtar/compat/strlcpy.c b/Utilities/cmtar/compat/strlcpy.c index f85c71b..c10c283 100644 --- a/Utilities/cmtar/compat/strlcpy.c +++ b/Utilities/cmtar/compat/strlcpy.c @@ -39,10 +39,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert 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; |