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:
danmc 2010-02-28 16:58:28 +00:00
parent 75d891e4c0
commit f208ca56f5
1 changed files with 5 additions and 9 deletions

View File

@ -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)