diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-05 12:12:45 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-05 12:12:45 +0000 |
commit | 8f1c81c610eb11b74f52fa1ae0a6b704ebced43e (patch) | |
tree | e6535b8487bccdc8cf761bde14f61ba324abeede /gc.c | |
parent | dd124a0f841f2e25daa4f4e3c9854618176a7743 (diff) | |
download | ruby-8f1c81c610eb11b74f52fa1ae0a6b704ebced43e.tar.gz |
* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
remove unused declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -346,6 +346,7 @@ static VALUE lazy_sweep_enable(void); static int garbage_collect(rb_objspace_t *); static int gc_lazy_sweep(rb_objspace_t *); static void mark_tbl(rb_objspace_t *, st_table *, int); +static void rest_sweep(rb_objspace_t *); static double getrusage_time(void); static inline void gc_prof_timer_start(rb_objspace_t *); @@ -377,9 +378,6 @@ rb_objspace_alloc(void) #endif #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE -static void gc_sweep(rb_objspace_t *); -static void slot_sweep(rb_objspace_t *, struct heaps_slot *); -static void rest_sweep(rb_objspace_t *); static void aligned_free(void *); void |