summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/time.c b/time.c
index 68ed3844ac..9fa37d7985 100644
--- a/time.c
+++ b/time.c
@@ -1366,6 +1366,12 @@ time_sec(VALUE time)
return INT2FIX(tobj->tm.tm_sec);
}
+VALUE
+rb_time_succ(VALUE time)
+{
+ return time_succ(time);
+}
+
/*
* call-seq:
* time.min => fixnum
@@ -1939,7 +1945,7 @@ time_mdump(VALUE time)
if ((tm->tm_year & 0xffff) != tm->tm_year)
rb_raise(rb_eArgError, "year too big to marshal");
-
+
p = 0x1UL << 31 | /* 1 */
tobj->gmt << 30 | /* 1 */
tm->tm_year << 14 | /* 16 */