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

ruby-changes:38631

From: ko1 <ko1@a...>
Date: Mon, 1 Jun 2015 15:44:39 +0900 (JST)
Subject: [ruby-changes:38631] ko1:r50712 (trunk): * class.c: remove needless include pragmra for method.h.

ko1	2015-06-01 15:44:16 +0900 (Mon, 01 Jun 2015)

  New Revision: 50712

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

  Log:
    * class.c: remove needless include pragmra for method.h.
    * struct.c: ditto.
    * vm_method.c: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/struct.c
    trunk/vm_method.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50711)
+++ ChangeLog	(revision 50712)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Jun  1 15:43:03 2015  Koichi Sasada  <ko1@a...>
+
+	* class.c: remove needless include pragmra for method.h.
+
+	* struct.c: ditto.
+
+	* vm_method.c: ditto.
+
 Mon Jun  1 05:42:00 2015  Koichi Sasada  <ko1@a...>
 
 	* eval_intern.h, vm_method.c: move macros to functions.
Index: vm_method.c
===================================================================
--- vm_method.c	(revision 50711)
+++ vm_method.c	(revision 50712)
@@ -20,7 +20,6 @@ https://github.com/ruby/ruby/blob/trunk/vm_method.c#L20
 #else
 #define GLOBAL_METHOD_CACHE(c,m) (rb_bug("global method cache disabled improperly"), NULL)
 #endif
-#include "method.h"
 
 #define NOEX_NOREDEF 0
 #ifndef NOEX_NOREDEF
Index: struct.c
===================================================================
--- struct.c	(revision 50711)
+++ struct.c	(revision 50712)
@@ -11,7 +11,6 @@ https://github.com/ruby/ruby/blob/trunk/struct.c#L11
 
 #include "internal.h"
 #include "vm_core.h"
-#include "method.h"
 
 VALUE rb_method_for_self_aref(VALUE name, VALUE arg, rb_insn_func_t func);
 VALUE rb_method_for_self_aset(VALUE name, VALUE arg, rb_insn_func_t func);
Index: class.c
===================================================================
--- class.c	(revision 50711)
+++ class.c	(revision 50712)
@@ -25,7 +25,6 @@ https://github.com/ruby/ruby/blob/trunk/class.c#L25
 
 #include "internal.h"
 #include "ruby/st.h"
-#include "method.h"
 #include "constant.h"
 #include "vm_core.h"
 #include <ctype.h>

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

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