Use explicit language extensions & remove extension fields from base.cabal
[ghc-base.git] / Foreign / C / Error.hs
index 76160b2..89c736d 100644 (file)
@@ -1,4 +1,6 @@
-{-# OPTIONS_GHC -XNoImplicitPrelude -#include "HsBase.h" #-}
+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
+{-# OPTIONS_GHC -#include "HsBase.h" #-}
+
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Foreign.C.Error
@@ -358,7 +360,7 @@ throwErrnoIfRetry pred loc f  =
           else throwErrno loc
       else return res
 
--- | as 'throwErrnoIfRetry', but additionlly if the operation 
+-- | as 'throwErrnoIfRetry', but additionally if the operation 
 -- yields the error code 'eAGAIN' or 'eWOULDBLOCK', an alternative
 -- action is executed before retrying.
 --