1 /* xmalloc.h -- split out of fetchmail.h */
9 #if defined(HAVE_VOIDPOINTER)
10 #define XMALLOCTYPE void
12 #define XMALLOCTYPE char
14 XMALLOCTYPE *xmalloc(size_t);
15 XMALLOCTYPE *xrealloc(/*@null@*/ XMALLOCTYPE *, size_t);
16 #define xfree(p) { if (p) { free(p); } (p) = 0; }
17 char *xstrdup(const char *);