Browse Source

On posix systems, wait() is:

pid_t wait(int *status);
so remove some broken #ifdef's that had the wrong type for status.
pre-master-46
danmc 16 years ago
parent
commit
f208ca56f5
  1. 14
      src/frontend/aspice.c

14
src/frontend/aspice.c

@ -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…
Cancel
Save