diff options
| author | Richard M. Stallman | 1993-05-25 00:43:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-25 00:43:37 +0000 |
| commit | 5b3bb7c63d5cda497d05c86a2f9216e864a3713d (patch) | |
| tree | 7dfd247a6e4a12e878d9717a6633c52998525f64 /src | |
| parent | a91526b92753e943e6e72fbdea70cb123fd358f9 (diff) | |
| download | emacs-5b3bb7c63d5cda497d05c86a2f9216e864a3713d.tar.gz emacs-5b3bb7c63d5cda497d05c86a2f9216e864a3713d.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/alloca.c | 8 |
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; | |||
| 66 | hand, the utilities in lib-src need alloca to call malloc; some of | 66 | hand, the utilities in lib-src need alloca to call malloc; some of |
| 67 | them are very simple, and don't have an xmalloc routine. | 67 | them are very simple, and don't have an xmalloc routine. |
| 68 | 68 | ||
| 69 | Everybody else should just call malloc. */ | 69 | Non-Emacs programs expect this to call use xmalloc. |
| 70 | |||
| 71 | Callers below should use malloc. */ | ||
| 72 | |||
| 70 | #ifndef emacs | 73 | #ifndef emacs |
| 71 | extern pointer malloc (); | 74 | #define malloc xmalloc |
| 75 | extern pointer xmalloc (); | ||
| 72 | #endif | 76 | #endif |
| 73 | 77 | ||
| 74 | /* Define STACK_DIRECTION if you know the direction of stack | 78 | /* Define STACK_DIRECTION if you know the direction of stack |