diff options
author | Ron Yorston <rmy@pobox.com> | 2015-05-29 15:33:23 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2015-05-29 15:33:23 +0100 |
commit | 0f08b401f107732d6c88486a739f26ce04578c34 (patch) | |
tree | 21551672eca72e1c0aef8c4749cd8598118a154c /include/mingw.h | |
parent | 29eacf8ce0ec56d4b4a8b03fb6a921b4843a9ee3 (diff) | |
download | busybox-w32-0f08b401f107732d6c88486a739f26ce04578c34.tar.gz busybox-w32-0f08b401f107732d6c88486a739f26ce04578c34.tar.bz2 busybox-w32-0f08b401f107732d6c88486a739f26ce04578c34.zip |
mingw: fixes to implementation of waitpid(2)
The third argument should be int. We only support positive pid
values.
Diffstat (limited to 'include/mingw.h')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 7224ba50a..a32d78ad0 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -340,7 +340,7 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out); | |||
340 | */ | 340 | */ |
341 | #define WNOHANG 1 | 341 | #define WNOHANG 1 |
342 | #define WUNTRACED 2 | 342 | #define WUNTRACED 2 |
343 | int waitpid(pid_t pid, int *status, unsigned options); | 343 | int waitpid(pid_t pid, int *status, int options); |
344 | 344 | ||
345 | /* | 345 | /* |
346 | * time.h | 346 | * time.h |