File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1198,8 +1198,6 @@ Init_etc(void)
11981198 */
11991199 sPasswd = rb_define_class_under (mEtc , "Passwd" , rb_cStruct );
12001200#endif
1201- rb_define_const (rb_cStruct , "Passwd" , sPasswd ); /* deprecated name */
1202- rb_deprecate_constant (rb_cStruct , "Passwd" );
12031201 rb_extend_object (sPasswd , rb_mEnumerable );
12041202 rb_define_singleton_method (sPasswd , "each" , etc_each_passwd , 0 );
12051203
@@ -1232,8 +1230,6 @@ Init_etc(void)
12321230 */
12331231 sGroup = rb_define_class_under (mEtc , "Group" , rb_cStruct );
12341232#endif
1235- rb_define_const (rb_cStruct , "Group" , sGroup ); /* deprecated name */
1236- rb_deprecate_constant (rb_cStruct , "Group" );
12371233 rb_extend_object (sGroup , rb_mEnumerable );
12381234 rb_define_singleton_method (sGroup , "each" , etc_each_group , 0 );
12391235#endif
You can’t perform that action at this time.
0 commit comments