From 3920bfb591f5d76bc7d13e3600c1a7f72b0b5e09 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 20 Jul 2005 13:26:45 +0000 Subject: Add prototypes for strlc?? functions. svn path=/trunk/; revision=4141 --- fetchmail.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fetchmail.h b/fetchmail.h index b6e03ba4..af38881b 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -720,4 +720,14 @@ extern char *program_name; * ;;;;; */ #define POSIX_space "\t\n\v\f\r " +/* strlcpy/strlcat prototypes */ +#ifndef HAVE_STRLCAT +size_t +strlcat(chat *dst, const char *src, size_t siz); +#endif +#ifndef HAVE_STRLCPY +size_t +strlcpy(char *dst, const char *src, size_t siz); +#endif + /* fetchmail.h ends here */ -- cgit v1.2.3