wait: move fallback definitions of wait options to xlat/

* wait.c: Move definitions of __W* flags ...
* xlat/wait4_options.in: ... here.
This commit is contained in:
Дмитрий Левин 2015-07-15 00:33:20 +00:00
parent b60b2a5aa3
commit f6026b6e65
2 changed files with 3 additions and 13 deletions

10
wait.c
View File

@ -2,16 +2,6 @@
#include <sys/wait.h>
#ifndef __WNOTHREAD
# define __WNOTHREAD 0x20000000
#endif
#ifndef __WALL
# define __WALL 0x40000000
#endif
#ifndef __WCLONE
# define __WCLONE 0x80000000
#endif
#include "xlat/wait4_options.h"
#if !defined WCOREFLAG && defined WCOREFLG

View File

@ -7,6 +7,6 @@ WTRAPPED
WSTOPPED
WCONTINUED
WNOWAIT
__WCLONE
__WALL
__WNOTHREAD
__WCLONE 0x80000000
__WALL 0x40000000
__WNOTHREAD 0x20000000