summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--time.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e859d4e1f9..cb55b83681 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 18 20:34:20 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * time.c (init_leap_second_info): fix non-ANSI function declaration.
+
Mon Jun 18 20:29:04 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ruby.c (rb_f_sub): use ansi style declaration.
diff --git a/time.c b/time.c
index 0d771d2715..5a50808553 100644
--- a/time.c
+++ b/time.c
@@ -1277,7 +1277,7 @@ static time_t known_leap_seconds_limit;
static int number_of_leap_seconds_known;
static void
-init_leap_second_info()
+init_leap_second_info(void)
{
/*
* leap seconds are determined by IERS.