Mercurial > hg > xemacs-beta
diff src/tparam.c @ 551:e9a3f8b4de53
[xemacs-hg @ 2001-05-21 05:26:06 by martinb]
realloc() handling on sunos4; remove lwlib-config kludge
author | martinb |
---|---|
date | Mon, 21 May 2001 05:26:51 +0000 |
parents | c33ae14dd6d0 |
children | b39c14581166 |
line wrap: on
line diff
--- a/src/tparam.c Mon May 21 02:15:12 2001 +0000 +++ b/src/tparam.c Mon May 21 05:26:51 2001 +0000 @@ -27,21 +27,19 @@ #include <string.h> +#undef realloc +#undef malloc +#undef free #define realloc xrealloc #define malloc xmalloc #define free xfree extern void *xmalloc (size_t size); extern void *xrealloc (void *, size_t size); -#else /* emacs */ +#else /* !emacs */ -#ifdef STDC_HEADERS #include <stdlib.h> #include <string.h> -#else -extern char *malloc (); -extern char *realloc (); -#endif #endif /* !emacs */