mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove union wait [BZ #19613]
The overloading approach in the W* macros was incompatible with integer expressions of a type different from int. Applications using union wait and these macros will have to migrate to the POSIX-specified int status type.
This commit is contained in:
@ -20,8 +20,7 @@
|
||||
#include <errno.h>
|
||||
|
||||
pid_t
|
||||
__wait4 (__pid_t pid, __WAIT_STATUS stat_loc, int options,
|
||||
struct rusage *usage)
|
||||
__wait4 (__pid_t pid, int *stat_loc, int options, struct rusage *usage)
|
||||
{
|
||||
__set_errno (ENOSYS);
|
||||
return (pid_t) -1;
|
||||
|
Reference in New Issue
Block a user