On posix systems, wait() is:
pid_t wait(int *status); so remove some broken #ifdef's that had the wrong type for status.
This commit is contained in:
parent
75d891e4c0
commit
f208ca56f5
|
|
@ -177,15 +177,11 @@ sigchild(void)
|
|||
* whether the exit was normal or not.
|
||||
*/
|
||||
|
||||
#if defined(__NetBSD__)
|
||||
pid_t status;
|
||||
#elif defined(__FreeBSD__) || defined(__APPLE__) || defined(SOLARIS)
|
||||
int status;
|
||||
#else
|
||||
union wait status;
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* On posix systems, wait() is:
|
||||
* pid_t wait(int *status);
|
||||
*/
|
||||
int status;
|
||||
|
||||
void
|
||||
ft_checkkids(void)
|
||||
|
|
|
|||
Loading…
Reference in New Issue