diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-30 17:47:32 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-30 17:47:32 +0100 |
commit | 11eb5aabcc3c98eddf1b375c4184fe0df58d7eab (patch) | |
tree | 607047937b23032f97da86b1b172b05d6ac6eb2a /cbits | |
parent | 7fdf4cda3b229e2873a46e0482c83f52b714c5fe (diff) |
Replace `<sys/wait.h>` macro wrappers with CApiFFI
Diffstat (limited to 'cbits')
-rw-r--r-- | cbits/HsUnix.c | 9 |
1 files changed, 0 insertions, 9 deletions
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 |