aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.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 /fetchmail.h
parent33c07e0faee095585f6602d782a4fc10fbe8747a (diff)
downloadfetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.tar.gz
fetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.tar.bz2
fetchmail-ecc8edf91ce64d4c9f242fc425fe407a8acfaae6.zip
Fix prototype warnings, remove unused functions.
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 9502d1e3..4ad810a2 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -44,6 +44,8 @@ struct addrinfo;
char *strstr(const char *, const char *);
#endif
+#include "fm_strl.h"
+
/* constants designating the various supported protocols */
#define P_AUTO 1
#define P_POP2 2
@@ -740,16 +742,6 @@ extern const char *program_name;
* <tab>;<newline>;<vertical-tab>;<form-feed>;<carriage-return>;<space> */
#define POSIX_space "\t\n\v\f\r "
-/* 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
-
/** Resolve the a TCP service name or a string containing only a decimal
* positive integer to a port number. Returns -1 for error. */
int servport(const char *service);