Since union wait was removed in revision 1.17 (3 years, 5 months ago),

type casting version of macro _W_INT is no longer needed.

Discussed with: yongari
This commit is contained in:
David Xu 2005-11-10 05:00:20 +00:00
parent e73e17729b
commit 832703a4f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152260

View File

@ -45,11 +45,9 @@
* values.
*/
#if __BSD_VISIBLE
#define _W_INT(w) (*(int *)&(w)) /* Convert union wait to int. */
#define WCOREFLAG 0200
#else
#define _W_INT(i) (i)
#endif
#define _W_INT(i) (i)
#define _WSTATUS(x) (_W_INT(x) & 0177)
#define _WSTOPPED 0177 /* _WSTATUS if process is stopped */