Prefixed reset_leap_second_info
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a0a585444
commit
33354d2928
@ -1,6 +1,6 @@
|
|||||||
#include "ruby.h"
|
#include "ruby.h"
|
||||||
|
|
||||||
void reset_leap_second_info(void);
|
void ruby_reset_leap_second_info(void);
|
||||||
static VALUE
|
static VALUE
|
||||||
bug_time_s_reset_leap_second_info(VALUE klass)
|
bug_time_s_reset_leap_second_info(VALUE klass)
|
||||||
{
|
{
|
||||||
|
@ -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 */
|
int ruby_thread_has_gvl_p(void); /* for ext/fiddle/closure.c */
|
||||||
|
|
||||||
/* time.c (export) */
|
/* time.c (export) */
|
||||||
void reset_leap_second_info(void);
|
void ruby_reset_leap_second_info(void);
|
||||||
|
|
||||||
/* util.c (export) */
|
/* util.c (export) */
|
||||||
extern const signed char ruby_digit36_to_number_table[];
|
extern const signed char ruby_digit36_to_number_table[];
|
||||||
|
3
time.c
3
time.c
@ -1099,7 +1099,8 @@ init_leap_second_info(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Use this if you want to re-run init_leap_second_info() */
|
/* 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;
|
this_year = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user