summaryrefslogtreecommitdiff
path: root/src/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
commitf0b4f650bca7d12ea457497e87ebb2a5ab2ada5e (patch)
treec704b8e807b349c8e2ca41862d6eee7850672cfb /src/alloca.c
parent1aee23dd14c55015dccb16b76bd50a0d06337a69 (diff)
downloademacs-f0b4f650bca7d12ea457497e87ebb2a5ab2ada5e.tar.gz
*** empty log message ***
Diffstat (limited to 'src/alloca.c')
-rw-r--r--src/alloca.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/alloca.c b/src/alloca.c
index 30efa5ae663..c04c0efebdb 100644
--- a/src/alloca.c
+++ b/src/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