changeset 3044:81c1ecaafd88

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 May 1993 00:43:37 +0000
parents 29fe3ea604a2
children 0267fb20b0df
files src/alloca.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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