summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1993-05-21 23:39:17 +0000
committerJim Blandy <jimb@red-bean.com>1993-05-21 23:39:17 +0000
commitf0080188b73239eba4ce6699270b80aa226fa0a2 (patch)
tree74427c5d0cc0f49fd6479044377ccea44bdf7766 /alloca.c
parent5a55f43ddc182f086793aaf021c9a16cac196063 (diff)
downloadgunmake-f0080188b73239eba4ce6699270b80aa226fa0a2.tar.gz
*** empty log message ***
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/alloca.c b/alloca.c
index b83b35d..bc34529 100644
--- a/alloca.c
+++ b/alloca.c
@@ -42,10 +42,6 @@ lose
#endif /* static */
#endif /* emacs */
-#ifdef emacs
-#define free xfree
-#endif
-
/* If your stack is a linked list of frames, you have to
provide an "address metric" ADDRESS_FUNCTION macro. */
@@ -64,8 +60,6 @@ typedef char *pointer;
#define NULL 0
-extern pointer xmalloc ();
-
/* Define STACK_DIRECTION if you know the direction of stack
growth for your system; otherwise it will be automatically
deduced at run-time.
@@ -181,7 +175,7 @@ alloca (size)
/* Allocate combined header + user data storage. */
{
- register pointer new = xmalloc (sizeof (header) + size);
+ register pointer new = malloc (sizeof (header) + size);
/* Address of header. */
((header *) new)->h.next = last_alloca_header;