projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ee809
)
[BZ #1392]
author
Roland McGrath
<roland@gnu.org>
Thu, 29 Sep 2005 22:03:12 +0000
(22:03 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 29 Sep 2005 22:03:12 +0000
(22:03 +0000)
2005-09-29 Roland McGrath <roland@redhat.com>
[BZ #1392]
* posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
posix/sys/wait.h
patch
|
blob
|
history
diff --git
a/posix/sys/wait.h
b/posix/sys/wait.h
index
31afa65
..
d7a58ea
100644
(file)
--- 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