]> Pileus Git - ~andy/fetchmail/blobdiff - strlcat.c
Note Earl's regression fix for SSL_CTX_clear_options() on older OpenSSL.
[~andy/fetchmail] / strlcat.c
index fe3ec1058d1e69fd233e687063332a45a711d2a0..22428d6829a893886a5dec60a785afcf105aa7e8 100644 (file)
--- a/strlcat.c
+++ b/strlcat.c
@@ -21,6 +21,8 @@
 #include <assert.h>
 #include <string.h>
 
+#include "fm_strl.h"
+
 #ifndef HAVE_STRLCAT
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the
  * 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;