summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-22 08:59:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-22 08:59:26 +0000
commit285cb99ba493a113098b78c9989cba5a870f2435 (patch)
tree8b65e3a45b97bc24a60d4e9cf41f74c0dd25f600 /gc.c
parent22198c30b115dd69227dfa3a006c323576067fe8 (diff)
* ruby.h: better inline function support.
* configure.in (NO_C_INLINE): check if inline is available for the C compiler. * marshal.c (r_object): len calculation patch was wrong for machines SIZEOF_BDIGITS == SIZEOF_SHORT. * gc.c: alloca prototype reorganized for C_ALLOCA machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gc.c b/gc.c
index 56dddc5..e4b301f 100644
--- a/gc.c
+++ b/gc.c
@@ -50,12 +50,6 @@ void *alloca();
#pragma alloca
#endif
-#ifdef C_ALLOCA
-#ifndef alloca
-void *alloca();
-#endif
-#endif
-
static void run_final();
#ifndef GC_MALLOC_LIMIT