Mercurial > hg > xemacs-beta
diff src/gifalloc.c @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | 376386a54a3c |
children | 850242ba4a81 |
line wrap: on
line diff
--- a/src/gifalloc.c Mon Aug 13 09:38:27 2007 +0200 +++ b/src/gifalloc.c Mon Aug 13 09:39:39 2007 +0200 @@ -11,6 +11,20 @@ * History: * * 15 Sep 92 - Version 1.0 by Eric Raymond. * *****************************************************************************/ + +#ifdef emacs +#include <config.h> + +void *xmalloc (unsigned int size); +void *xrealloc (void *ptr, unsigned int size); +#ifdef ERROR_CHECK_MALLOC +void *xfree_1 (void *); +#define xfree xfree_1 +#else +void *xfree (void *); +#endif +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -27,7 +41,6 @@ void *xfree (void *); #endif #endif - #include "gif_lib.h" #ifndef MAX