diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-05 11:53:18 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-05 11:53:18 +0000 |
commit | 7c87ee8a14e0d15775f6e1a3ee2f3ccd0c3828f7 (patch) | |
tree | 5f2027a5ec14a917293efc02f4ae7bdba4abc4f5 /ext/-test-/time | |
parent | 6538f67d4dccc32f1613be188a0748f0d4f90a05 (diff) | |
download | ruby-7c87ee8a14e0d15775f6e1a3ee2f3ccd0c3828f7.tar.gz |
Add missing file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/time')
-rw-r--r-- | ext/-test-/time/leap_second.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/-test-/time/leap_second.c b/ext/-test-/time/leap_second.c new file mode 100644 index 0000000000..f24fcb670c --- /dev/null +++ b/ext/-test-/time/leap_second.c @@ -0,0 +1,14 @@ +#include "ruby.h" + +static VALUE +bug_time_s_reset_leap_second_info(VALUE klass) +{ + reset_leap_second_info(); + return Qnil; +} + +void +Init_time_leap_second(VALUE klass) +{ + rb_define_singleton_method(klass, "reset_leap_second_info", bug_time_s_reset_leap_second_info, 0); +} |