diff options
-rw-r--r-- | ext/-test-/time/leap_second.c | 2 | ||||
-rw-r--r-- | internal.h | 2 | ||||
-rw-r--r-- | time.c | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ext/-test-/time/leap_second.c b/ext/-test-/time/leap_second.c index 214afe2b6b..8989f7952f 100644 --- a/ext/-test-/time/leap_second.c +++ b/ext/-test-/time/leap_second.c @@ -1,6 +1,6 @@ #include "ruby.h" -void reset_leap_second_info(void); +void ruby_reset_leap_second_info(void); static VALUE bug_time_s_reset_leap_second_info(VALUE klass) { diff --git a/internal.h b/internal.h index fb7679eace..2d71eb178f 100644 --- a/internal.h +++ b/internal.h @@ -2057,7 +2057,7 @@ VALUE rb_str_upto_endless_each(VALUE, int (*each)(VALUE, VALUE), VALUE); int ruby_thread_has_gvl_p(void); /* for ext/fiddle/closure.c */ /* time.c (export) */ -void reset_leap_second_info(void); +void ruby_reset_leap_second_info(void); /* util.c (export) */ extern const signed char ruby_digit36_to_number_table[]; @@ -1099,7 +1099,8 @@ init_leap_second_info(void) } /* Use this if you want to re-run init_leap_second_info() */ -void reset_leap_second_info(void) +void +ruby_reset_leap_second_info(void) { this_year = 0; } |