Trim unused imports detected by new unused-import code
[ghc-hetmet.git] / compiler / ghci / ObjLink.lhs
index d032a36..7981c82 100644 (file)
@@ -21,15 +21,14 @@ module ObjLink (
    resolveObjs          -- :: IO SuccessFlag
   )  where
 
-import Panic           ( panic )
+import Panic
 import BasicTypes      ( SuccessFlag, successIf )
 import Config          ( cLeadingUnderscore )
-import Outputable
 
 import Control.Monad    ( when )
 import Foreign.C
 import Foreign         ( nullPtr )
-import GHC.Exts         ( Ptr(..), unsafeCoerce# )
+import GHC.Exts         ( Ptr(..) )
 
 
 
@@ -86,7 +85,7 @@ resolveObjs = do
    return (successIf (r /= 0))
 
 -- ---------------------------------------------------------------------------
--- Foreign declaractions to RTS entry points which does the real work;
+-- Foreign declarations to RTS entry points which does the real work;
 -- ---------------------------------------------------------------------------
 
 foreign import ccall unsafe "addDLL"      c_addDLL :: CString -> IO CString