summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
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;