From ab4dd923d778048d5ba4a0bab7e730d0c157b322 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 11 Dec 2016 15:27:08 +0100 Subject: Fix portability to C90 and C++. --- xmalloc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'xmalloc.c') diff --git a/xmalloc.c b/xmalloc.c index c2ca4a66..44143a70 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -6,6 +6,7 @@ */ #include "config.h" +#include "xmalloc.h" #include #include #include @@ -16,12 +17,6 @@ #include "fetchmail.h" #include "i18n.h" -#if defined(HAVE_VOIDPOINTER) -#define XMALLOCTYPE void -#else -#define XMALLOCTYPE char -#endif - XMALLOCTYPE * xmalloc (size_t n) { -- cgit v1.2.3