X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=strlcat.c;h=22428d6829a893886a5dec60a785afcf105aa7e8;hb=2629c4511c68729d98acfd08637c1f00d3807f49;hp=fe3ec1058d1e69fd233e687063332a45a711d2a0;hpb=d57b00768a8fa44d1e1c5f758440edabfa488baf;p=~andy%2Ffetchmail diff --git a/strlcat.c b/strlcat.c index fe3ec105..22428d68 100644 --- a/strlcat.c +++ b/strlcat.c @@ -21,6 +21,8 @@ #include #include +#include "fm_strl.h" + #ifndef HAVE_STRLCAT /* * Appends src to string dst of size siz (unlike strncat, siz is the @@ -30,10 +32,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;