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

ruby-changes:24095

From: kosaki <ko1@a...>
Date: Wed, 20 Jun 2012 06:51:09 +0900 (JST)
Subject: [ruby-changes:24095] kosaki:r36146 (trunk): * time.c (init_leap_second_info): fix non-ANSI function declaration.

kosaki	2012-06-20 06:50:32 +0900 (Wed, 20 Jun 2012)

  New Revision: 36146

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36146

  Log:
    * time.c (init_leap_second_info): fix non-ANSI function declaration.

  Modified files:
    trunk/ChangeLog
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 36145)
+++ time.c	(revision 36146)
@@ -1277,7 +1277,7 @@
 static int number_of_leap_seconds_known;
 
 static void
-init_leap_second_info()
+init_leap_second_info(void)
 {
     /*
      * leap seconds are determined by IERS.
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36145)
+++ ChangeLog	(revision 36146)
@@ -1,3 +1,7 @@
+Mon Jun 18 20:34:20 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* time.c (init_leap_second_info): fix non-ANSI function declaration.
+
 Mon Jun 18 20:29:04 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* ruby.c (rb_f_sub): use ansi style declaration.

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

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