[commit: unix] master: Convert some FFI decls to use capi (7259fcd)
Ian Lynagh
igloo at earth.li
Wed Feb 22 14:32:00 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/7259fcd6a69ab188041efd28626b5ea474f4e8a6
>---------------------------------------------------------------
commit 7259fcd6a69ab188041efd28626b5ea474f4e8a6
Author: Ian Lynagh <igloo at earth.li>
Date: Wed Feb 22 01:47:27 2012 +0000
Convert some FFI decls to use capi
>---------------------------------------------------------------
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__ */
More information about the Cvs-libraries
mailing list