OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf7239
)
*** empty log message ***
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1993 00:43:37 +0000
(
00:43
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1993 00:43:37 +0000
(
00:43
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4562
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/alloca.c
patch
|
blob
|
history
diff --git
a/gcc/alloca.c
b/gcc/alloca.c
index
30efa5a
..
c04c0ef
100644
(file)
--- 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