mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
[BZ #1392]
2005-09-29 Roland McGrath <roland@redhat.com> [BZ #1392] * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
This commit is contained in:
parent
39ee8092c6
commit
ffc9bccd84
@ -47,7 +47,7 @@ __BEGIN_DECLS
|
||||
(__extension__ (((union { __typeof(status) __in; int __i; }) \
|
||||
{ .__in = (status) }).__i))
|
||||
# else
|
||||
# define __WAIT_INT(status) (*(int *) &(status))
|
||||
# define __WAIT_INT(status) (*(__const int *) &(status))
|
||||
# endif
|
||||
|
||||
/* This is the type of the argument to `wait'. The funky union
|
||||
|
Loading…
Reference in New Issue
Block a user