1 /* Copyright 1993-95 by Carl Harris, Jr. Copyright 1996 by Eric S. Raymond
3 * For license terms, see the file COPYING in this directory.
6 /***********************************************************************
9 programmer: Carl Harris, ceharris@mal.com
10 description: malloc wrapper.
12 ***********************************************************************/
17 #include <sys/types.h>
18 #include "fetchmail.h"
20 #if defined(HAVE_VOIDPOINTER)
21 #define XMALLOCTYPE void
23 #define XMALLOCTYPE char
32 p = (XMALLOCTYPE *) malloc(n);
33 if (p == (XMALLOCTYPE *) 0) {
34 fputs("malloc failed\n",stderr);