diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-13 13:27:10 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-13 13:27:10 (GMT) |
commit | 4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde (patch) | |
tree | d9c498dcace58ec370290bb82eff6002d90dd67a /Utilities/cmtar/compat | |
parent | d2710d514268813d0b0291c6d5571ee6638b8b7b (diff) | |
download | CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.zip CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.gz CMake-4f728e93e19ffcf8aacbdad0b8cbedbeea03cbde.tar.bz2 |
COMP: Remove warnings
Diffstat (limited to 'Utilities/cmtar/compat')
-rw-r--r-- | Utilities/cmtar/compat/strlcpy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmtar/compat/strlcpy.c b/Utilities/cmtar/compat/strlcpy.c index c10c283..ee46557 100644 --- a/Utilities/cmtar/compat/strlcpy.c +++ b/Utilities/cmtar/compat/strlcpy.c @@ -34,6 +34,8 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp #include <sys/types.h> #include <string.h> +size_t strlcpy(char *dst, const char *src, size_t siz); + /* * Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0). |