[前][次][番号順一覧][スレッド一覧]

ruby-changes:51652

From: nobu <ko1@a...>
Date: Fri, 6 Jul 2018 10:40:11 +0900 (JST)
Subject: [ruby-changes:51652] nobu:r63864 (trunk): Prefixed reset_leap_second_info

nobu	2018-07-06 10:40:04 +0900 (Fri, 06 Jul 2018)

  New Revision: 63864

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63864

  Log:
    Prefixed reset_leap_second_info

  Modified files:
    trunk/ext/-test-/time/leap_second.c
    trunk/internal.h
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 63863)
+++ time.c	(revision 63864)
@@ -1099,7 +1099,8 @@ init_leap_second_info(void) https://github.com/ruby/ruby/blob/trunk/time.c#L1099
 }
 
 /* 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;
 }
Index: internal.h
===================================================================
--- internal.h	(revision 63863)
+++ internal.h	(revision 63864)
@@ -2057,7 +2057,7 @@ VALUE rb_str_upto_endless_each(VALUE, in https://github.com/ruby/ruby/blob/trunk/internal.h#L2057
 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[];
Index: ext/-test-/time/leap_second.c
===================================================================
--- ext/-test-/time/leap_second.c	(revision 63863)
+++ ext/-test-/time/leap_second.c	(revision 63864)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/time/leap_second.c#L1
 #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)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]