summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/compat
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-12 13:21:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-07-12 13:21:26 (GMT)
commit2e1882389b5908d817a664bd617a5ffc2a8ddfa0 (patch)
treea27fa4d2a8603d44e7ad4b904e6e53d087aa97fb /Utilities/cmtar/compat
parentdaa99e753d4c9c24d40c680012a825c1d704040a (diff)
downloadCMake-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.c5
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;