From: Dmitry V. Levin Date: Wed, 15 Jul 2015 00:33:20 +0000 (+0000) Subject: wait: move fallback definitions of wait options to xlat/ X-Git-Tag: v4.11~456 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6026b6e657ce8619e54dfd081a354ec929ba0ce;p=strace wait: move fallback definitions of wait options to xlat/ * wait.c: Move definitions of __W* flags ... * xlat/wait4_options.in: ... here. --- diff --git a/wait.c b/wait.c index d2eb36d1..09341c52 100644 --- a/wait.c +++ b/wait.c @@ -2,16 +2,6 @@ #include -#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 diff --git a/xlat/wait4_options.in b/xlat/wait4_options.in index 61219d33..df9f085a 100644 --- a/xlat/wait4_options.in +++ b/xlat/wait4_options.in @@ -7,6 +7,6 @@ WTRAPPED WSTOPPED WCONTINUED WNOWAIT -__WCLONE -__WALL -__WNOTHREAD +__WCLONE 0x80000000 +__WALL 0x40000000 +__WNOTHREAD 0x20000000