diff options
author | Jim Blandy <jimb@red-bean.com> | 1993-05-24 15:57:15 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1993-05-24 15:57:15 +0000 |
commit | 8960f971ca7cc9866fd7f99e9c573e42f13f3431 (patch) | |
tree | be17d28d1711f29e61e0cffd2961e7527708edc8 /alloca.c | |
parent | ff71fe92778968fe8efab594d5310acc13d721d5 (diff) | |
download | gunmake-8960f971ca7cc9866fd7f99e9c573e42f13f3431.tar.gz |
*** empty log message ***
Diffstat (limited to 'alloca.c')
-rw-r--r-- | alloca.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -60,6 +60,17 @@ typedef char *pointer; #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. |