summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-25 00:43:37 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-25 00:43:37 +0000
commit60c868c193d28baf52cc088ec32d98b436b76227 (patch)
treef46d1618c1c30da616e05a63435a15d516e8cad2 /alloca.c
parent1e71bdd0859a337fc1220f0b3679d1a17fabf3ce (diff)
downloadgunmake-60c868c193d28baf52cc088ec32d98b436b76227.tar.gz
*** empty log message ***
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/alloca.c b/alloca.c
index 30efa5a..c04c0ef 100644
--- a/alloca.c
+++ b/alloca.c
@@ -66,9 +66,13 @@ typedef char *pointer;
hand, the utilities in lib-src need alloca to call malloc; some of
them are very simple, and don't have an xmalloc routine.
- Everybody else should just call malloc. */
+ Non-Emacs programs expect this to call use xmalloc.
+
+ Callers below should use malloc. */
+
#ifndef emacs
-extern pointer malloc ();
+#define malloc xmalloc
+extern pointer xmalloc ();
#endif
/* Define STACK_DIRECTION if you know the direction of stack