Mercurial > emacs
changeset 3019:6261c371091e
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 24 May 1993 15:57:15 +0000 |
parents | f1d4c6a5976a |
children | c0f75cf9ae35 |
files | src/alloca.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alloca.c Mon May 24 15:39:31 1993 +0000 +++ b/src/alloca.c Mon May 24 15:57:15 1993 +0000 @@ -60,6 +60,17 @@ #define NULL 0 +/* Different portions of Emacs need to call different versions of + malloc. The Emacs executable needs alloca to call xmalloc, because + ordinary malloc isn't protected from input signals. On the other + 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. */ +#ifndef emacs +extern pointer malloc (); +#endif + /* Define STACK_DIRECTION if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time.