diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-31 10:51:58 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-31 10:51:58 +0100 |
commit | 72774b031084e5260cf0c0df5239ed63d136ba6c (patch) | |
tree | e5a97f9f80cae702c8fa714a83f9f39b9429123b /System | |
parent | 2796361516ebf60825189018cea24d2c5c24ea34 (diff) |
Use more direct CApiFFI for pPrPr_disableITimers
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Process/Internals.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/System/Posix/Process/Internals.hs b/System/Posix/Process/Internals.hs index fd0e68d..0bd99ae 100644 --- a/System/Posix/Process/Internals.hs +++ b/System/Posix/Process/Internals.hs @@ -1,5 +1,4 @@ {-# LANGUAGE CApiFFI #-} -{-# LANGUAGE CPP #-} {-# LANGUAGE Trustworthy #-} module System.Posix.Process.Internals ( @@ -26,7 +25,7 @@ data ProcessStatus -- this function disables the itimer, which would otherwise cause confusing -- signals to be sent to the new process. -foreign import ccall unsafe "pPrPr_disableITimers" +foreign import capi unsafe "Rts.h stopTimer" pPrPr_disableITimers :: IO () foreign import ccall unsafe "__hsunix_execvpe" |