From 4b5f054098e484baa6d457aebe8bdab0eeb90215 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 21 Apr 2011 14:27:28 -0400 Subject: move wait.h macros out of bits. they do not vary. --- arch/i386/bits/wexitstatus.h | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 arch/i386/bits/wexitstatus.h (limited to 'arch/i386/bits/wexitstatus.h') diff --git a/arch/i386/bits/wexitstatus.h b/arch/i386/bits/wexitstatus.h deleted file mode 100644 index 591d401a..00000000 --- a/arch/i386/bits/wexitstatus.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef WEXITSTATUS -#define WEXITSTATUS(s) (((s) & 0xff00) >> 8) -#define WTERMSIG(s) ((s) & 0x7f) -#define WSTOPSIG(s) WEXITSTATUS(s) -#define WCOREDUMP(s) ((s) & 0x80) -#define WIFEXITED(s) (!WTERMSIG(s)) -#define WIFSTOPPED(s) (((s) & 0xff) == 0x7f) -#define WIFSIGNALED(s) (((signed char) (((s) & 0x7f) + 1) >> 1) > 0) -#define WIFCONTINUED(s) ((s) == 0xffff) -#endif -- cgit v1.2.1