diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2016-12-11 15:27:08 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2016-12-11 22:06:12 +0100 |
commit | ab4dd923d778048d5ba4a0bab7e730d0c157b322 (patch) | |
tree | 457480487346cdb8ffc5105d0791891e158893f9 /xmalloc.c | |
parent | e77d739e6a5ef96607f21229fb03530934b71d75 (diff) | |
download | fetchmail-ab4dd923d778048d5ba4a0bab7e730d0c157b322.tar.gz fetchmail-ab4dd923d778048d5ba4a0bab7e730d0c157b322.tar.bz2 fetchmail-ab4dd923d778048d5ba4a0bab7e730d0c157b322.zip |
Fix portability to C90 and C++.
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -6,6 +6,7 @@ */ #include "config.h" +#include "xmalloc.h" #include <sys/types.h> #include <stdio.h> #include <errno.h> @@ -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) { |