summaryrefslogtreecommitdiff
path: root/ext/-test-/time/leap_second.c
blob: 8989f7952f6324528f6eccc101dc6dc96bdec9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "ruby.h"

void ruby_reset_leap_second_info(void);
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);
}