summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/time.c b/time.c
index fb2f671fe0..a459f56dc2 100644
--- a/time.c
+++ b/time.c
@@ -2474,11 +2474,6 @@ rb_time_nano_new(time_t sec, long nsec)
return time_new_timew(rb_cTime, nsec2timew(sec, nsec));
}
-/**
- * Returns a time object with UTC/localtime/fixed offset
- *
- * offset is -86400 < fixoff < 86400 or INT_MAX (localtime) or INT_MAX-1 (utc)
- */
VALUE
rb_time_timespec_new(const struct timespec *ts, int offset)
{