aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
diff options
context:
space:
mode:
authorGravatar Ian Lynagh <igloo@earth.li>2011-11-26 16:16:51 +0000
committerGravatar Ian Lynagh <igloo@earth.li>2011-11-28 17:04:55 +0000
commite33f5019b8739fee8b5af319698945250ad532ec (patch)
tree34995a054c7e79138ebb20ba37150cda23f8a3be /System
parent06edcfac35646d8d4735de62dd14efcb7735ff0d (diff)
Convert come FFI bindings to use the capi calling convention
Diffstat (limited to 'System')
-rw-r--r--System/Posix/Signals.hsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index e56a425..4257688 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -1,4 +1,4 @@
-{-# LANGUAGE DeriveDataTypeable,PatternGuards #-}
+{-# LANGUAGE DeriveDataTypeable, PatternGuards, CApiFFI #-}
{-# OPTIONS_GHC -fno-cse #-} -- global variables
#if __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
@@ -612,13 +612,13 @@ foreign import ccall unsafe "sigfillset"
foreign import ccall unsafe "sigismember"
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#else
-foreign import ccall unsafe "__hscore_sigdelset"
+foreign import capi unsafe "HsBase.h sigdelset"
c_sigdelset :: Ptr CSigset -> CInt -> IO CInt
-foreign import ccall unsafe "__hscore_sigfillset"
+foreign import capi unsafe "HsBase.h sigfillset"
c_sigfillset :: Ptr CSigset -> IO CInt
-foreign import ccall unsafe "__hscore_sigismember"
+foreign import capi unsafe "HsBase.h sigismember"
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#endif /* __HUGS__ */