summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.c b/process.c
index a09c3e18e6..70a2eef67f 100644
--- a/process.c
+++ b/process.c
@@ -7975,7 +7975,8 @@ InitVM_process(void)
#if defined(HAVE_TIMES) || defined(_WIN32)
rb_cProcessTms = rb_struct_define_under(rb_mProcess, "Tms", "utime", "stime", "cutime", "cstime", NULL);
- rb_define_const(rb_cStruct, "Tms", rb_cProcessTms); /* for the backward compatibility */
+ /* An obsolete name of Process::Tms for the backward compatibility */
+ rb_define_const(rb_cStruct, "Tms", rb_cProcessTms);
rb_deprecate_constant(rb_cStruct, "Tms");
#endif