diff options
author | Roland McGrath <roland@gnu.org> | 2005-09-29 22:03:12 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-09-29 22:03:12 +0000 |
commit | ffc9bccd84c7779dc486ade4bd93960288f211fd (patch) | |
tree | 2627fe03dfadbdf6411bd24563798397a961f0c9 /posix/sys/wait.h | |
parent | 39ee8092c6ec51af5b73012e9723471ac1a95e13 (diff) | |
download | glibc-ffc9bccd84c7779dc486ade4bd93960288f211fd.tar.gz glibc-ffc9bccd84c7779dc486ade4bd93960288f211fd.tar.xz glibc-ffc9bccd84c7779dc486ade4bd93960288f211fd.zip |
[BZ #1392]
2005-09-29 Roland McGrath <roland@redhat.com> [BZ #1392] * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
Diffstat (limited to 'posix/sys/wait.h')
-rw-r--r-- | posix/sys/wait.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h index 31afa65703..d7a58eab13 100644 --- a/posix/sys/wait.h +++ b/posix/sys/wait.h @@ -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 |