aboutsummaryrefslogtreecommitdiffstats
path: root/fm_strl.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-10-05 02:19:17 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-10-05 02:19:17 +0200
commitecc8edf91ce64d4c9f242fc425fe407a8acfaae6 (patch)
treeefff3e10faa0caddaaa5fdb000efc64e45ec69cd /fm_strl.h
parent33c07e0faee095585f6602d782a4fc10fbe8747a (diff)
downloadfetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.tar.gz
fetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.tar.bz2
fetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.zip
Fix prototype warnings, remove unused functions.
Diffstat (limited to 'fm_strl.h')
-rw-r--r--fm_strl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fm_strl.h b/fm_strl.h
new file mode 100644
index 00000000..fb7f9e23
--- /dev/null
+++ b/fm_strl.h
@@ -0,0 +1,16 @@
+#ifndef FM_STRL_H
+#define FM_STRL_H
+
+#include "config.h"
+
+/* strlcpy/strlcat prototypes */
+#ifndef HAVE_STRLCAT
+size_t
+strlcat(char *dst, const char *src, size_t siz);
+#endif
+#ifndef HAVE_STRLCPY
+size_t
+strlcpy(char *dst, const char *src, size_t siz);
+#endif
+
+#endif