summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/IO/Encoding/Iconv.hs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-05-16 14:57:46 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-18 01:06:34 -0700
commita61aedc730e68a1b0c166b81a65a8ea575e8094b (patch)
tree85e0237044e1ec4bc29e1bfb80076055035eb6f7 /libraries/base/GHC/IO/Encoding/Iconv.hs
parent191656199189e584e66dda194b7f772694388102 (diff)
downloadhaskell-a61aedc730e68a1b0c166b81a65a8ea575e8094b.tar.gz
SafeHaskell: Added SafeHaskell to base
Diffstat (limited to 'libraries/base/GHC/IO/Encoding/Iconv.hs')
-rw-r--r--libraries/base/GHC/IO/Encoding/Iconv.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/base/GHC/IO/Encoding/Iconv.hs b/libraries/base/GHC/IO/Encoding/Iconv.hs
index d91907132c..f8dfb88ae7 100644
--- a/libraries/base/GHC/IO/Encoding/Iconv.hs
+++ b/libraries/base/GHC/IO/Encoding/Iconv.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP
, NoImplicitPrelude
, ForeignFunctionInterface
@@ -31,7 +32,7 @@ module GHC.IO.Encoding.Iconv (
#if !defined(mingw32_HOST_OS)
-import Foreign hiding (unsafePerformIO)
+import Foreign.Safe
import Foreign.C
import Data.Maybe
import GHC.Base