X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=strlcat.c;h=0af16670e01eb25b2b399bc373de131b3736951f;hb=33cddbff323efcbae1503e91e6e65b2733da80c7;hp=fe3ec1058d1e69fd233e687063332a45a711d2a0;hpb=d57b00768a8fa44d1e1c5f758440edabfa488baf;p=~andy%2Ffetchmail diff --git a/strlcat.c b/strlcat.c index fe3ec105..0af16670 100644 --- a/strlcat.c +++ b/strlcat.c @@ -17,10 +17,15 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" +#include "fetchmail.h" + #include #include #include +#include "fm_strl.h" + #ifndef HAVE_STRLCAT /* * Appends src to string dst of size siz (unlike strncat, siz is the @@ -30,10 +35,7 @@ * If retval >= siz, truncation occurred. */ size_t -strlcat(dst, src, siz) - char *dst; - const char *src; - size_t siz; +strlcat(char *dst, const char *src, size_t siz) { char *d = dst; const char *s = src;