summaryrefslogtreecommitdiff
path: root/ext/digest/rmd160/rmd160init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/rmd160/rmd160init.c')
-rw-r--r--ext/digest/rmd160/rmd160init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c
index 10d9370163..a2c0a023c0 100644
--- a/ext/digest/rmd160/rmd160init.c
+++ b/ext/digest/rmd160/rmd160init.c
@@ -49,12 +49,10 @@ Init_rmd160(void)
{
VALUE mDigest, cDigest_Base, cDigest_RMD160;
- rb_require("digest");
-
#if 0
mDigest = rb_define_module("Digest"); /* let rdoc know */
#endif
- mDigest = rb_path2class("Digest");
+ mDigest = rb_digest_namespace();
cDigest_Base = rb_path2class("Digest::Base");
cDigest_RMD160 = rb_define_class_under(mDigest, "RMD160", cDigest_Base);