path: root/ext/pty/pty.c
diff options
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-21 16:11:32 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-21 16:11:32 +0000
commit7e052c7b81d22fe4556e313c1f24ccda15502ab1 (patch)
treeadecd32a845774744ae6d7a46f7d74e4db9b7627 /ext/pty/pty.c
parentf7108c5d1a10cacfbb79a0b370c8136bed74af66 (diff)
use rb_pid_t instead of pid_t.
* process.c (rb_execarg_addopt, run_exec_pgroup): use rb_pid_t instead of pid_t. * ext/pty/pty.c (raise_from_check, pty_check): ditto. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty/pty.c')
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 8ac731404a..5986a8d4ba 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -604,9 +604,9 @@ pty_getpty(int argc, VALUE *argv, VALUE self)
return res;
-NORETURN(static void raise_from_check(pid_t pid, int status));
+NORETURN(static void raise_from_check(rb_pid_t pid, int status));
static void
-raise_from_check(pid_t pid, int status)
+raise_from_check(rb_pid_t pid, int status)
const char *state;
char buf[1024];
@@ -654,7 +654,7 @@ static VALUE
pty_check(int argc, VALUE *argv, VALUE self)
VALUE pid, exc;
- pid_t cpid;
+ rb_pid_t cpid;
int status;
rb_scan_args(argc, argv, "11", &pid, &exc);