Suppressed some warnings in the WIFSIGNALED macro.
This commit is contained in:
parent
1749530ec1
commit
d89e33fc92
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
#define WIFEXITED(s) (_LOW(s) == 0) /* normal exit */
|
#define WIFEXITED(s) (_LOW(s) == 0) /* normal exit */
|
||||||
#define WEXITSTATUS(s) (_HIGH(s)) /* exit status */
|
#define WEXITSTATUS(s) (_HIGH(s)) /* exit status */
|
||||||
#define WTERMSIG(s) (_LOW(s) & 0177) /* sig value */
|
#define WTERMSIG(s) (_LOW(s) & 0177) /* sig value */
|
||||||
#define WIFSIGNALED(s) (((unsigned int)(s)-1 & 0xFFFF) < 0xFF) /* signaled */
|
#define WIFSIGNALED(s) ((((unsigned int)(s)-1) & 0xFFFFU) < 0xFFU) /* signaled */
|
||||||
#define WIFSTOPPED(s) (_LOW(s) == 0177) /* stopped */
|
#define WIFSTOPPED(s) (_LOW(s) == 0177) /* stopped */
|
||||||
#define WSTOPSIG(s) (_HIGH(s) & 0377) /* stop signal */
|
#define WSTOPSIG(s) (_HIGH(s) & 0377) /* stop signal */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue