Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master
http://hackage.haskell.org/trac/ghc/changeset/10257006df1d4459e28721fc461df9f6d7f261b4 >--------------------------------------------------------------- commit 10257006df1d4459e28721fc461df9f6d7f261b4 Author: Ian Lynagh <[email protected]> Date: Wed Feb 22 00:30:57 2012 +0000 Change CSigset into a (empty) datatype This is necessary now that we no longer allow CTYPE pragmas on type synonyms. >--------------------------------------------------------------- System/Posix/Internals.hs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/System/Posix/Internals.hs b/System/Posix/Internals.hs index ae3477e..bc6da74 100644 --- a/System/Posix/Internals.hs +++ b/System/Posix/Internals.hs @@ -1,5 +1,6 @@ {-# LANGUAGE Trustworthy #-} -{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface, CApiFFI #-} +{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface, CApiFFI, + EmptyDataDecls #-} {-# OPTIONS_HADDOCK hide #-} ----------------------------------------------------------------------------- @@ -90,7 +91,7 @@ type CGroup = () type CLconv = () type CPasswd = () type CSigaction = () -type {-# CTYPE "sigset_t" #-} CSigset = () +data {-# CTYPE "sigset_t" #-} CSigset type CStat = () type CTermios = () type CTm = () _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
