# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 738290617 0
# Node ID 81c1ecaafd88ec3c15810086bb1965ba81f2e148
# Parent  29fe3ea604a26c1f99e575277f3c47022f285598
*** empty log message ***

diff -r 29fe3ea604a2 -r 81c1ecaafd88 src/alloca.c
--- a/src/alloca.c	Mon May 24 23:03:04 1993 +0000
+++ b/src/alloca.c	Tue May 25 00:43:37 1993 +0000
@@ -66,9 +66,13 @@
    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