diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-12 13:21:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-12 13:21:26 (GMT) |
commit | 2e1882389b5908d817a664bd617a5ffc2a8ddfa0 (patch) | |
tree | a27fa4d2a8603d44e7ad4b904e6e53d087aa97fb /Utilities/cmtar/compat | |
parent | daa99e753d4c9c24d40c680012a825c1d704040a (diff) | |
download | CMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.zip CMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.tar.gz CMake-2e1882389b5908d817a664bd617a5ffc2a8ddfa0.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Utilities/cmtar/compat')
-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; |