Mercurial > emacs
changeset 11690:450b9598aca5
Include config.h.
(NO_SHORTNAMES): New definition.
(xmalloc): Return long *.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 May 1995 21:57:30 +0000 |
parents | fa8b13d1a665 |
children | ca7058c74ef3 |
files | lib-src/make-docfile.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/make-docfile.c Thu May 04 21:55:08 1995 +0000 +++ b/lib-src/make-docfile.c Thu May 04 21:57:30 1995 +0000 @@ -31,6 +31,9 @@ Then comes the documentation for that function or variable. */ +#define NO_SHORTNAMES /* Tell config not to load remap.h */ +#include <../src/config.h> + #include <stdio.h> #ifdef MSDOS #include <fcntl.h> @@ -84,11 +87,11 @@ /* Like malloc but get fatal error if memory is exhausted. */ -char * +long * xmalloc (size) unsigned int size; { - char *result = (char *) malloc (size); + long *result = (long *) malloc (size); if (result == NULL) fatal ("virtual memory exhausted", 0); return result;