mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +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:
@ -35,7 +35,7 @@
|
||||
pid_t
|
||||
__waitpid (pid_t pid, int *stat_loc, int options)
|
||||
{
|
||||
return __wait4 (pid, (union wait *) stat_loc, options, NULL);
|
||||
return __wait4 (pid, stat_loc, options, NULL);
|
||||
}
|
||||
|
||||
libc_hidden_def (__waitpid)
|
||||
|
Reference in New Issue
Block a user