diff --git a/ChangeLog b/ChangeLog index 84c340c6a5..fe8ddce403 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 22 00:11:19 2009 Tanaka Akira + + * time.c (leap_year_v_p): removed. + Tue Apr 21 23:52:45 2009 Tanaka Akira * time.c: remove time_t restriction from Time class. diff --git a/time.c b/time.c index 6fe3097f28..973097ef54 100644 --- a/time.c +++ b/time.c @@ -224,13 +224,6 @@ static const int leap_year_days_in_month[] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -static int -leap_year_v_p(VALUE year) -{ - int y = NUM2INT(mod(year, INT2FIX(400))); - return ((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0); -} - static VALUE timegmv_noleapsecond(struct vtm *vtm) {