[commit: packages/process] master, new-flags, new-flags-no-f3df9d6: Windows: delete redundant import in System/Process.hsc (7162555)
git at git.haskell.org
git at git.haskell.org
Mon Nov 2 06:23:27 UTC 2015
Repository : ssh://git@git.haskell.org/process
On branches: master,new-flags,new-flags-no-f3df9d6
Link : http://ghc.haskell.org/trac/ghc/changeset/7162555febc7b8e1f60958c3c3864a40fdadc21c/process
>---------------------------------------------------------------
commit 7162555febc7b8e1f60958c3c3864a40fdadc21c
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Thu Jun 11 00:44:42 2015 +0200
Windows: delete redundant import in System/Process.hsc
Building GHC on Windows shows the following warning:
libraries/process/System/Process.hsc:94:1: warning:
The import of ‘Foreign.C.Types’ is redundant
except perhaps to import instances from ‘Foreign.C.Types’
To import instances alone, use: import Foreign.C.Types()
>---------------------------------------------------------------
7162555febc7b8e1f60958c3c3864a40fdadc21c
System/Process.hsc | 1 -
1 file changed, 1 deletion(-)
diff --git a/System/Process.hsc b/System/Process.hsc
index 32ad6af..953732b 100644
--- a/System/Process.hsc
+++ b/System/Process.hsc
@@ -91,7 +91,6 @@ import System.IO.Error (mkIOError, ioeSetErrorString)
# include <io.h> /* for _close and _pipe */
# include <fcntl.h> /* for _O_BINARY */
import Control.Exception (onException)
-import Foreign.C.Types (CInt(..), CUInt(..))
#else
import System.Posix.Process (getProcessGroupIDOf)
import qualified System.Posix.IO as Posix
More information about the ghc-commits
mailing list