diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-25 21:10:58 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-25 21:10:58 +0000 |
commit | e149ee88cf53bb5665ab240a138be41d0b337ea8 (patch) | |
tree | 6e0ff9f8c510431cf675ca9be2640d8761085b97 /missing/alloca.c | |
parent | 99020d6e50702eb371111d73280eb80b4b29ba5b (diff) |
This commit was manufactured by cvs2svn to create tag
'v1_6_4_preview4'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_6_4_preview4@1459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/alloca.c')
-rw-r--r-- | missing/alloca.c | 5 |
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; |