From ea5efa117ff1aa631fe92fc33c09bea07e8592e7 Mon Sep 17 00:00:00 2001 From: normal Date: Wed, 27 Jun 2018 06:01:33 +0000 Subject: [PATCH] s/pid_t/rb_pid_t/ Some platforms do not have pid_t :x git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- mjit.c | 2 +- process.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mjit.c b/mjit.c index 10aa15fb7f..e166a066bf 100644 --- a/mjit.c +++ b/mjit.c @@ -120,7 +120,7 @@ extern void rb_native_cond_wait(rb_nativethread_cond_t *cond, rb_nativethread_lo extern int rb_thread_create_mjit_thread(void (*child_hook)(void), void (*worker_func)(void)); /* process.c */ -pid_t ruby_waitpid_locked(rb_vm_t *, rb_pid_t, int *status, int options, +rb_pid_t ruby_waitpid_locked(rb_vm_t *, rb_pid_t, int *status, int options, rb_nativethread_cond_t *cond); #define RB_CONDATTR_CLOCK_MONOTONIC 1 diff --git a/process.c b/process.c index 0c967538d3..dbdcade71a 100644 --- a/process.c +++ b/process.c @@ -971,7 +971,7 @@ waitpid_state_init(struct waitpid_state *w, pid_t pid, int options) /* * must be called with vm->waitpid_lock held, this is not interruptible */ -pid_t +rb_pid_t ruby_waitpid_locked(rb_vm_t *vm, rb_pid_t pid, int *status, int options, rb_nativethread_cond_t *cond) {