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:
Roland McGrath 2005-09-29 22:03:12 +00:00
parent 39ee8092c6
commit ffc9bccd84

View File

@ -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