]> granicus.if.org Git - strace/commitdiff
wait: move fallback definitions of wait options to xlat/
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 15 Jul 2015 00:33:20 +0000 (00:33 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 15 Jul 2015 00:33:20 +0000 (00:33 +0000)
* wait.c: Move definitions of __W* flags ...
* xlat/wait4_options.in: ... here.

wait.c
xlat/wait4_options.in

diff --git a/wait.c b/wait.c
index d2eb36d14afb5ed36fefabccabc9a6a234738c04..09341c52e47564a619b897253c07805fc5237853 100644 (file)
--- a/wait.c
+++ b/wait.c
@@ -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
index 61219d33c81ab83902627c446dd6444de73def8a..df9f085a9e44a071b9926a2170d8a4485d4a10a7 100644 (file)
@@ -7,6 +7,6 @@ WTRAPPED
 WSTOPPED
 WCONTINUED
 WNOWAIT
-__WCLONE
-__WALL
-__WNOTHREAD
+__WCLONE 0x80000000
+__WALL 0x40000000
+__WNOTHREAD 0x20000000