aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-25 00:43:37 +0000
committerRichard Stallman <rms@gnu.org>1993-05-25 00:43:37 +0000
commit36e7e3c05374ab6b3221ce2ba56b84484fef4577 (patch)
tree602c93557ad0347b12797ac8ad5b80160fe7fac1 /gcc
parent8c042b47af6f5d91c4f0baf0c2efa5af7272e002 (diff)
downloadgcc-36e7e3c05374ab6b3221ce2ba56b84484fef4577.zip
gcc-36e7e3c05374ab6b3221ce2ba56b84484fef4577.tar.gz
gcc-36e7e3c05374ab6b3221ce2ba56b84484fef4577.tar.bz2
*** empty log message ***
From-SVN: r4562
Diffstat (limited to 'gcc')
-rw-r--r--gcc/alloca.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/alloca.c b/gcc/alloca.c
index 30efa5a..c04c0ef 100644
--- a/gcc/alloca.c
+++ b/gcc/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