We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ruby_reset_leap_second_info
1 parent 6a1f5b6 commit a82aa08Copy full SHA for a82aa08
ext/-test-/time/leap_second.c
internal/time.h
@@ -27,7 +27,6 @@ struct timeval rb_time_timeval(VALUE);
27
28
RUBY_SYMBOL_EXPORT_BEGIN
29
/* time.c (export) */
30
-void ruby_reset_leap_second_info(void);
31
RUBY_SYMBOL_EXPORT_END
32
33
void ruby_reset_timezone(const char *);
test/ruby/test_time_tz.rb
@@ -1,6 +1,5 @@
1
# frozen_string_literal: false
2
require 'test/unit'
3
-require '-test-/time'
4
5
class TestTimeTZ < Test::Unit::TestCase
6
has_right_tz = true
time.c
@@ -746,6 +746,8 @@ get_tzname(int dst)
746
}
747
#endif
748
749
+static void ruby_reset_leap_second_info(void);
750
+
751
void
752
ruby_reset_timezone(const char *val)
753
{
0 commit comments