summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-11 13:20:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-11 13:20:14 +0000
commit9bcbd08b0b6aef3fb9305860b5d86b132d85721d (patch)
tree7b0a4c0ddebc91d95e349f4a9aa298eabb624a96 /include
parentba997e3529e3397dd64557891c06ccb350601d17 (diff)
* include/ruby/node.h (NOEX_LOCAL): remove unused local visibility.
* class.c (ins_methods_push): ditto. * class.c (rb_class_local_methods): method removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h1
-rw-r--r--include/ruby/node.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 8c39e2a6bd..2b50364d7c 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -136,7 +136,6 @@ VALUE rb_class_instance_methods(int, VALUE*, VALUE);
VALUE rb_class_public_instance_methods(int, VALUE*, VALUE);
VALUE rb_class_protected_instance_methods(int, VALUE*, VALUE);
VALUE rb_class_private_instance_methods(int, VALUE*, VALUE);
-VALUE rb_class_local_methods(VALUE);
VALUE rb_obj_singleton_methods(int, VALUE*, VALUE);
void rb_define_method_id(VALUE, ID, VALUE (*)(ANYARGS), int);
void rb_frozen_class_p(VALUE);
diff --git a/include/ruby/node.h b/include/ruby/node.h
index a5b66d35f9..51268061e0 100644
--- a/include/ruby/node.h
+++ b/include/ruby/node.h
@@ -467,8 +467,7 @@ typedef struct RNode {
#define NOEX_NOSUPER 0x01
#define NOEX_PRIVATE 0x02
#define NOEX_PROTECTED 0x04
-#define NOEX_LOCAL 0x08
-#define NOEX_MASK 0x0E /* 1110 */
+#define NOEX_MASK 0x06 /* 1110 */
#define NOEX_UNDEF NOEX_NOSUPER