Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e33f5019b8739fee8b5af319698945250ad532ec

>---------------------------------------------------------------

commit e33f5019b8739fee8b5af319698945250ad532ec
Author: Ian Lynagh <[email protected]>
Date:   Sat Nov 26 16:16:51 2011 +0000

    Convert come FFI bindings to use the capi calling convention

>---------------------------------------------------------------

 System/Posix/Signals.hsc |    8 ++++----
 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__ */
 



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to