summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
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);