]> Pileus Git - ~andy/fetchmail/blobdiff - strlcat.c
Complete Dominik's name.
[~andy/fetchmail] / strlcat.c
index 7b9673f9381539cc760c78f060e74d1052976c0a..22428d6829a893886a5dec60a785afcf105aa7e8 100644 (file)
--- a/strlcat.c
+++ b/strlcat.c
@@ -21,7 +21,9 @@
 #include <assert.h>
 #include <string.h>
 
-#if !HAVE_STRLCAT
+#include "fm_strl.h"
+
+#ifndef HAVE_STRLCAT
 /*
  * Appends src to string dst of size siz (unlike strncat, siz is the
  * full size of dst, not space left).  At most siz-1 characters
  * 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;