1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Struct::Tms: delete

Has been deprecated since 44c53ee473.
This commit is contained in:
卜部昌平 2020-07-28 11:03:00 +09:00 committed by Nobuyoshi Nakada
parent fa356a798a
commit fee2913d0a
Notes: git 2020-12-22 13:52:43 +09:00

View file

@ -8974,9 +8974,6 @@ InitVM_process(void)
#if defined(HAVE_TIMES) || defined(_WIN32)
/* Placeholder for rusage */
rb_cProcessTms = rb_struct_define_under(rb_mProcess, "Tms", "utime", "stime", "cutime", "cstime", NULL);
/* An obsolete name of Process::Tms for backward compatibility */
rb_define_const(rb_cStruct, "Tms", rb_cProcessTms);
rb_deprecate_constant(rb_cStruct, "Tms");
#endif
SAVED_USER_ID = geteuid();