Skip to content

Commit 7630c77

Browse files
committed
Cygwin: sys/wait.h: Add _wait prototype to avoid compiler warning
Signed-off-by: Corinna Vinschen <[email protected]>
1 parent 1082cd8 commit 7630c77

File tree

1 file changed

+4
-0
lines changed
  • winsup/cygwin/include/sys

1 file changed

+4
-0
lines changed

winsup/cygwin/include/sys/wait.h

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ pid_t waitpid (pid_t __pid, int *__status, int __options);
2222
pid_t wait3 (int *__status, int __options, struct rusage *__rusage);
2323
pid_t wait4 (pid_t __pid, int *__status, int __options, struct rusage *__rusage);
2424

25+
#ifdef _COMPILING_NEWLIB
26+
pid_t _wait (int *);
27+
#endif
28+
2529
#ifdef __cplusplus
2630
}
2731
#endif

0 commit comments

Comments
 (0)