summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-04 21:57:30 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-04 21:57:30 +0000
commit6592e8aa3dde8a768aa4f409cee268d4ba2084d5 (patch)
tree333d70614f074b9495dc2d9e3a09d8f068b44537 /lib-src
parent89896b26055ba44a61047c60631340738f95a8b8 (diff)
downloademacs-6592e8aa3dde8a768aa4f409cee268d4ba2084d5.tar.gz
Include config.h.
(NO_SHORTNAMES): New definition. (xmalloc): Return long *.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 006600e162d..e45fd75b3a1 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -31,6 +31,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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 @@ fatal (s1, s2)
/* 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;