From 36e7e3c05374ab6b3221ce2ba56b84484fef4577 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 25 May 1993 00:43:37 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r4562 --- gcc/alloca.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/alloca.c b/gcc/alloca.c index 30efa5ae663..c04c0efebdb 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 -- 2.30.2