summaryrefslogtreecommitdiff
path: root/missing/alloca.c
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-04 09:02:30 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-06-04 09:02:30 +0000
commit469c1f3f40f279906aceceb7cd4aef80eeffd642 (patch)
tree37d0caae0cb84f774c364bfa2077423a31144e5f /missing/alloca.c
parent99020d6e50702eb371111d73280eb80b4b29ba5b (diff)
This commit was manufactured by cvs2svn to create tag 'v1_6_4'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_6_4@1498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;