summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-27 16:32:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-27 16:49:27 +0900
commit90dd482061ab014a6137c2df2239cc6106974dbb (patch)
tree67c78e71094204f472ae8fd5c53e1a3ad60a4e44 /win32
parent260d626ef69336530b636e2b14b75479f869e8dc (diff)
win32: Declared wait and fixed the return type
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 5985875..d04985e 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5211,7 +5211,7 @@ symlink(const char *src, const char *link)
}
/* License: Ruby's */
-int
+rb_pid_t
wait(int *status)
{
return waitpid(-1, status, 0);