summaryrefslogtreecommitdiff
path: root/missing/alloca.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/alloca.c')
-rw-r--r--missing/alloca.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/missing/alloca.c b/missing/alloca.c
index 6879618c8a..5746497371 100644
--- a/missing/alloca.c
+++ b/missing/alloca.c
@@ -2,7 +2,6 @@
last edit: 86/05/30 rms
include config.h, since on VMS it renames some symbols.
- Use xmalloc instead of malloc.
This implementation of the PWB library alloca() function,
which is used to allocate space off the run-time stack so
@@ -53,7 +52,7 @@ typedef char *pointer; /* generic pointer type */
#define NULL 0 /* null pointer constant */
extern void free();
-extern pointer xmalloc();
+extern pointer malloc();
/*
Define STACK_DIRECTION if you know the direction of stack
@@ -173,7 +172,7 @@ alloca (size) /* returns pointer to storage */
/* 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;