diff --git a/ChangeLog b/ChangeLog index ca00327f6a..c395063334 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jul 19 21:59:12 2013 Koichi Sasada + + * gc.c: declare type_name() at the beggining of file. + Fri Jul 19 21:35:09 2013 Koichi Sasada * array.c: reduce shady operations. diff --git a/gc.c b/gc.c index e83bff302a..a959873107 100644 --- a/gc.c +++ b/gc.c @@ -550,6 +550,7 @@ static inline void gc_prof_set_heap_info(rb_objspace_t *); #define rgengc_report if (RGENGC_DEBUG) rgengc_report_body static void rgengc_report_body(int level, rb_objspace_t *objspace, const char *fmt, ...); +static const char * type_name(int type, VALUE obj); static const char *obj_type_name(VALUE obj); #if USE_RGENGC