aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Process
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2013-10-12 13:01:50 +0200
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2013-10-12 13:01:50 +0200
commit43de23c79db9e6e9a6de984b964cc9bdf74e50c2 (patch)
tree57179f113ca818097ab3c19fba59a6535ef34c11 /System/Posix/Process
parent6944df0d5bd6899ff61811f23cd4c03d1f595db3 (diff)
Declare language extensions via `{-# LANGUAGE -#}`
Only language extensions not active when `-XHaskell2010` is enabled are declared, this way we can drop many redundant `{-# LANGUAGE ForeignFunctionInterface #-}` occurences. This commit also removes/replaces some `{-# OPTIONS_GHC -XRecordWildCards #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'System/Posix/Process')
-rw-r--r--System/Posix/Process/ByteString.hsc1
-rw-r--r--System/Posix/Process/Common.hsc2
-rw-r--r--System/Posix/Process/Internals.hs1
3 files changed, 2 insertions, 2 deletions
diff --git a/System/Posix/Process/ByteString.hsc b/System/Posix/Process/ByteString.hsc
index 2be1fcd..30f40cd 100644
--- a/System/Posix/Process/ByteString.hsc
+++ b/System/Posix/Process/ByteString.hsc
@@ -1,4 +1,3 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
#ifdef __GLASGOW_HASKELL__
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/System/Posix/Process/Common.hsc b/System/Posix/Process/Common.hsc
index e42978b..3bcc505 100644
--- a/System/Posix/Process/Common.hsc
+++ b/System/Posix/Process/Common.hsc
@@ -1,4 +1,4 @@
-{-# LANGUAGE ForeignFunctionInterface, InterruptibleFFI #-}
+{-# LANGUAGE InterruptibleFFI #-}
#ifdef __GLASGOW_HASKELL__
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/System/Posix/Process/Internals.hs b/System/Posix/Process/Internals.hs
index b5017c5..8e4f451 100644
--- a/System/Posix/Process/Internals.hs
+++ b/System/Posix/Process/Internals.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
#ifdef __GLASGOW_HASKELL__
{-# LANGUAGE Trustworthy #-}
#endif