From 11eb5aabcc3c98eddf1b375c4184fe0df58d7eab Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 30 Jan 2016 17:47:32 +0100 Subject: Replace `` macro wrappers with CApiFFI --- cbits/HsUnix.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cbits/HsUnix.c') diff --git a/cbits/HsUnix.c b/cbits/HsUnix.c index 66d951d..8300949 100644 --- a/cbits/HsUnix.c +++ b/cbits/HsUnix.c @@ -8,20 +8,11 @@ #include "HsUnix.h" -int __hsunix_wifexited (int stat) { return WIFEXITED(stat); } -int __hsunix_wexitstatus (int stat) { return WEXITSTATUS(stat); } -int __hsunix_wifsignaled (int stat) { return WIFSIGNALED(stat); } -int __hsunix_wtermsig (int stat) { return WTERMSIG(stat); } -int __hsunix_wifstopped (int stat) { return WIFSTOPPED(stat); } -int __hsunix_wstopsig (int stat) { return WSTOPSIG(stat); } - // not part of POSIX, hence may not be always defined #ifndef WCOREDUMP # define WCOREDUMP(s) 0 #endif -int __hsunix_wcoredump (int stat) { return WCOREDUMP(stat); } - #ifdef HAVE_RTLDNEXT void *__hsunix_rtldNext (void) {return RTLD_NEXT;} #endif -- cgit v1.2.3