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

ruby-changes:33974

From: normal <ko1@a...>
Date: Fri, 23 May 2014 05:17:56 +0900 (JST)
Subject: [ruby-changes:33974] normal:r46055 (trunk): gc.c (rb_free_m_tbl): mark function as static

normal	2014-05-23 05:17:48 +0900 (Fri, 23 May 2014)

  New Revision: 46055

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

  Log:
    gc.c (rb_free_m_tbl): mark function as static
    
    * gc.c (rb_free_m_tbl): mark function as static
    * method.h (rb_free_m_tbl): remove prototype

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/method.h
Index: method.h
===================================================================
--- method.h	(revision 46054)
+++ method.h	(revision 46055)
@@ -136,7 +136,6 @@ VALUE rb_obj_method_location(VALUE obj, https://github.com/ruby/ruby/blob/trunk/method.h#L136
 void rb_mark_method_entry(const rb_method_entry_t *me);
 void rb_free_method_entry(rb_method_entry_t *me);
 void rb_sweep_method_entry(void *vm);
-void rb_free_m_tbl(st_table *tbl);
 void rb_free_m_tbl_wrapper(struct method_table_wrapper *wrapper);
 
 #endif /* METHOD_H */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46054)
+++ ChangeLog	(revision 46055)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri May 23 03:48:08 2014  Eric Wong  <e@8...>
+
+	* gc.c (rb_free_m_tbl): mark function as static
+
+	* method.h (rb_free_m_tbl): remove prototype
+
 Thu May 22 22:58:27 2014  Tanaka Akira  <akr@f...>
 
 	* ext/socket/mkconstants.rb: More TCP option constants.
Index: gc.c
===================================================================
--- gc.c	(revision 46054)
+++ gc.c	(revision 46055)
@@ -1476,7 +1476,7 @@ free_method_entry_i(st_data_t key, st_da https://github.com/ruby/ruby/blob/trunk/gc.c#L1476
     return ST_CONTINUE;
 }
 
-void
+static void
 rb_free_m_tbl(st_table *tbl)
 {
     st_foreach(tbl, free_method_entry_i, 0);

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

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