2 * For license terms, see the file COPYING in this directory.
5 /***********************************************************************
8 programmer: Carl Harris, ceharris@mal.com
9 description: malloc wrapper.
11 ***********************************************************************/
16 #include <sys/types.h>
17 #include "fetchmail.h"
19 #if defined(HAVE_VOIDPOINTER)
20 #define XMALLOCTYPE void
22 #define XMALLOCTYPE char
31 p = (XMALLOCTYPE *) malloc(n);
32 if (p == (XMALLOCTYPE *) 0) {
33 fputs("malloc failed\n",stderr);