From 24b12bbab225f688a266e6e37ca044b194afb598 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 23 Feb 2019 14:32:55 -0500 Subject: implement proper function-like macro --- src/sys/wait/WSTOPSIG.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/sys/wait/WSTOPSIG.c') diff --git a/src/sys/wait/WSTOPSIG.c b/src/sys/wait/WSTOPSIG.c index 721179c8..467729e4 100644 --- a/src/sys/wait/WSTOPSIG.c +++ b/src/sys/wait/WSTOPSIG.c @@ -1,6 +1,5 @@ #include - -#define WSTOPSIG 6 +#define WSTOPSIG(__stat_val) (__stat_val & 0xff) /* POSIX(1) */ -- cgit v1.2.1