From 9bcbd08b0b6aef3fb9305860b5d86b132d85721d Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 11 Oct 2007 13:20:14 +0000 Subject: * 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 --- include/ruby/intern.h | 1 - include/ruby/node.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include/ruby') 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 -- cgit v1.2.3