diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-20 13:26:45 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-20 13:26:45 +0000 |
commit | 3920bfb591f5d76bc7d13e3600c1a7f72b0b5e09 (patch) | |
tree | ae8aa7059ffdc3ce57093985c3a131a87f5ef279 /fetchmail.h | |
parent | 81d81f6f3a816de5003f43302a0692e6f756fc82 (diff) | |
download | fetchmail-3920bfb591f5d76bc7d13e3600c1a7f72b0b5e09.tar.gz fetchmail-3920bfb591f5d76bc7d13e3600c1a7f72b0b5e09.tar.bz2 fetchmail-3920bfb591f5d76bc7d13e3600c1a7f72b0b5e09.zip |
Add prototypes for strlc?? functions.
svn path=/trunk/; revision=4141
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; * <tab>;<newline>;<vertical-tab>;<form-feed>;<carriage-return>;<space> */ #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 */ |