summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-24 18:33:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-07-24 18:33:50 +0000
commit5dd2b7102c42cd31a0fec424addbdeaeefb235ac (patch)
treec04ed9798be30923eec668e9deed5f377e67b02d /gc.c
parentc9aad4c098193cad0440228595c85aadc44bebe5 (diff)
* gcc -Wall clean-up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gc.c b/gc.c
index deb7905b80..b4875c8c86 100644
--- a/gc.c
+++ b/gc.c
@@ -899,15 +899,6 @@ rb_gc_mark_children(ptr)
static void obj_free _((VALUE));
-static unsigned long
-size_of_table(tbl)
- struct st_table *tbl;
-{
- if (!tbl) return 0;
- return tbl->num_bins * sizeof(struct st_table_entry *) +
- tbl->num_entries * 4 * sizeof(VALUE);
-}
-
static void
gc_sweep()
{