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

ruby-changes:32177

From: nobu <ko1@a...>
Date: Tue, 17 Dec 2013 14:29:21 +0900 (JST)
Subject: [ruby-changes:32177] nobu:r44256 (trunk): gc.c: prototype

nobu	2013-12-17 14:29:14 +0900 (Tue, 17 Dec 2013)

  New Revision: 44256

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

  Log:
    gc.c: prototype
    
    * gc.c (gc_finalize_deferred_register): define in prototype style,
      instead of old K&R style.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 44255)
+++ gc.c	(revision 44256)
@@ -2101,7 +2101,7 @@ rb_gc_finalize_deferred(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L2101
 }
 
 static void
-gc_finalize_deferred_register()
+gc_finalize_deferred_register(void)
 {
     if (rb_postponed_job_register_one(0, gc_finalize_deferred, 0) == 0) {
 	rb_bug("gc_finalize_deferred_register: can't register finalizer.");

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

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