diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-22 01:47:27 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-22 01:47:27 +0000 |
commit | 7259fcd6a69ab188041efd28626b5ea474f4e8a6 (patch) | |
tree | 80e0c97748360d0fa6a7a5aa2b3184dac6651fe5 /System/Posix/Signals.hsc | |
parent | 433b83dde1109b377b26fa230f8e3260fa020db2 (diff) |
Convert some FFI decls to use capi
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r-- | System/Posix/Signals.hsc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc index 91e642f..8195845 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -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 "signal.h sigdelset" c_sigdelset :: Ptr CSigset -> CInt -> IO CInt -foreign import ccall unsafe "__hscore_sigfillset" +foreign import capi unsafe "signal.h sigfillset" c_sigfillset :: Ptr CSigset -> IO CInt -foreign import ccall unsafe "__hscore_sigismember" +foreign import capi unsafe "signal.h sigismember" c_sigismember :: Ptr CSigset -> CInt -> IO CInt #endif /* __HUGS__ */ |