summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-27 06:09:18 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-03-27 06:09:18 +0000
commite933a2791971a5667c52c9f3042aa38179722db2 (patch)
treec077006339525a622df69010013ed2fd4c2e977f /eval.c
parentc88c96361d4c4e30db4e4078d744cd0b16ac4dcf (diff)
$:, remove top_protected
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/eval.c b/eval.c
index 1b8a99e275..1e5dcbb9a4 100644
--- a/eval.c
+++ b/eval.c
@@ -4163,14 +4163,6 @@ top_public(argc, argv)
}
static VALUE
-top_protected(argc, argv)
- int argc;
- VALUE *argv;
-{
- return mod_protected(argc, argv, cObject);
-}
-
-static VALUE
top_private(argc, argv)
int argc;
VALUE *argv;
@@ -4436,7 +4428,6 @@ Init_eval()
rb_define_singleton_method(TopSelf, "include", top_include, -1);
rb_define_singleton_method(TopSelf, "public", top_public, -1);
- rb_define_singleton_method(TopSelf, "protected", top_protected, -1);
rb_define_singleton_method(TopSelf, "private", top_private, -1);
rb_define_method(mKernel, "extend", obj_extend, -1);