From c8f608f4c4c6d2eb6cb7b12cb60de04cadcb3750 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 5 Aug 2009 16:27:47 +0000 Subject: Add sdump(), split xmalloc.h out of fetchmail.h svn path=/branches/BRANCH_6-3/; revision=5390 --- fetchmail.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index afbf0d72..702fcae5 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -623,16 +623,7 @@ void interface_parse(char *, struct hostdata *); void interface_note_activity(struct hostdata *); int interface_approve(struct hostdata *, flag domonitor); -/* xmalloc.c */ -#if defined(HAVE_VOIDPOINTER) -#define XMALLOCTYPE void -#else -#define XMALLOCTYPE char -#endif -XMALLOCTYPE *xmalloc(size_t); -XMALLOCTYPE *xrealloc(/*@null@*/ XMALLOCTYPE *, size_t); -#define xfree(p) { if (p) { free(p); } (p) = 0; } -char *xstrdup(const char *); +#include "xmalloc.h" /* protocol driver and methods */ int doPOP2 (struct query *); -- cgit v1.2.3