Commit ee0a8e74 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Include alloca.h, string.h. Test NOT_C_CODE.

(xmalloc, xrealloc): Declare them.
parent 4455f41c
......@@ -24,6 +24,12 @@
/* Declare malloc and realloc in a way that is clean.
But not in makefiles! */
#ifndef NOT_C_CODE
/* We need these because pointers are larger than the default ints. */
#include <alloca.h>
#include <string.h>
extern void *malloc (), *realloc ();
extern long *xmalloc (), *xrealloc ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment