summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-23 07:05:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-23 07:05:30 +0000
commit0d20fbe3bd654faf6be82a00ea140880a9d9481a (patch)
tree7a1d3af88f13eb9759458a0df01aaf0ccd23aa34 /process.c
parent556515bf69a098c146b7856395a0e804e9159115 (diff)
eval.c: static IDs
* eval.c (ruby_static_id_signo, ruby_static_id_status): add static IDs, signo and status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/process.c b/process.c
index c52e6ac..ea683e7 100644
--- a/process.c
+++ b/process.c
@@ -256,7 +256,7 @@ typedef unsigned LONG_LONG unsigned_clock_t;
#endif
static ID id_in, id_out, id_err, id_pid, id_uid, id_gid;
-static ID id_close, id_child, id_status;
+static ID id_close, id_child;
#ifdef HAVE_SETPGID
static ID id_pgroup;
#endif
@@ -279,6 +279,8 @@ static ID id_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID;
static ID id_MACH_ABSOLUTE_TIME_BASED_CLOCK_MONOTONIC;
#endif
static ID id_hertz;
+extern ID ruby_static_id_status;
+#define id_status ruby_static_id_status
/*
* call-seq:
@@ -7820,7 +7822,6 @@ Init_process(void)
id_gid = rb_intern("gid");
id_close = rb_intern("close");
id_child = rb_intern("child");
- id_status = rb_intern("status");
#ifdef HAVE_SETPGID
id_pgroup = rb_intern("pgroup");
#endif