diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-12 13:01:50 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2013-10-12 13:01:50 +0200 |
commit | 43de23c79db9e6e9a6de984b964cc9bdf74e50c2 (patch) | |
tree | 57179f113ca818097ab3c19fba59a6535ef34c11 /System/Posix/DynamicLinker | |
parent | 6944df0d5bd6899ff61811f23cd4c03d1f595db3 (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/DynamicLinker')
-rw-r--r-- | System/Posix/DynamicLinker/Module.hsc | 1 | ||||
-rw-r--r-- | System/Posix/DynamicLinker/Module/ByteString.hsc | 1 | ||||
-rw-r--r-- | System/Posix/DynamicLinker/Prim.hsc | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/System/Posix/DynamicLinker/Module.hsc b/System/Posix/DynamicLinker/Module.hsc index f54a7c6..aa83b6b 100644 --- a/System/Posix/DynamicLinker/Module.hsc +++ b/System/Posix/DynamicLinker/Module.hsc @@ -1,4 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} #ifdef __GLASGOW_HASKELL__ {-# LANGUAGE Trustworthy #-} #endif diff --git a/System/Posix/DynamicLinker/Module/ByteString.hsc b/System/Posix/DynamicLinker/Module/ByteString.hsc index 3921d85..dc0832a 100644 --- a/System/Posix/DynamicLinker/Module/ByteString.hsc +++ b/System/Posix/DynamicLinker/Module/ByteString.hsc @@ -1,4 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} #ifdef __GLASGOW_HASKELL__ {-# LANGUAGE Trustworthy #-} #endif diff --git a/System/Posix/DynamicLinker/Prim.hsc b/System/Posix/DynamicLinker/Prim.hsc index ec933fb..a111e3a 100644 --- a/System/Posix/DynamicLinker/Prim.hsc +++ b/System/Posix/DynamicLinker/Prim.hsc @@ -1,4 +1,3 @@ -{-# LANGUAGE ForeignFunctionInterface #-} #ifdef __GLASGOW_HASKELL__ {-# LANGUAGE Trustworthy #-} #endif |