[commit: packages/Cabal] ghc-head: Warning on older GHCs. (94a4b3a)

git at git.haskell.org git at git.haskell.org
Wed Sep 4 23:58:14 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=94a4b3acc8bcc520543711cedcb1d9c331006744

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

commit 94a4b3acc8bcc520543711cedcb1d9c331006744
Author: Mikhail Glushenkov <the.dead.shall.rise at gmail.com>
Date:   Fri Aug 30 18:58:32 2013 +0200

    Warning on older GHCs.


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

94a4b3acc8bcc520543711cedcb1d9c331006744
 cabal-install/Distribution/Client/Compat/Time.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-install/Distribution/Client/Compat/Time.hs b/cabal-install/Distribution/Client/Compat/Time.hs
index b79f1c9..9913af5 100644
--- a/cabal-install/Distribution/Client/Compat/Time.hs
+++ b/cabal-install/Distribution/Client/Compat/Time.hs
@@ -19,7 +19,7 @@ import System.Time (ClockTime(..), getClockTime
 import Data.Int         (Int32)
 import Data.Word        (Word32)
 import Foreign          (Ptr, allocaBytes, peekByteOff)
-import Foreign.C.Types  (CChar(..))
+import Foreign.C.Types  (CChar)
 import Foreign.C.String (withCString)
 import System.IO.Error  (mkIOError, doesNotExistErrorType)
 





More information about the ghc-commits mailing list