From ecc8edf91ce64d4c9f242fc425fe407a8acfaae6 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 5 Oct 2010 02:19:17 +0200 Subject: Fix prototype warnings, remove unused functions. --- fetchmail.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'fetchmail.h') 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; * ;;;;; */ #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); -- cgit v1.2.3