aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ian Lynagh <igloo@earth.li>2008-06-16 14:54:25 +0000
committerGravatar Ian Lynagh <igloo@earth.li>2008-06-16 14:54:25 +0000
commit4981740456c7219251e9f059a509bc0e5cdf0930 (patch)
tree311a844bbbb975d907420504be6fa95ff90367ab
parent136b23db618b71f8693950a0e7812a9f2dac1931 (diff)
Avoid using deprecated flags
-rw-r--r--System/Posix/Directory.hsc2
-rw-r--r--System/Posix/DynamicLinker/Module.hsc2
-rw-r--r--System/Posix/DynamicLinker/Prim.hsc2
-rw-r--r--System/Posix/Env.hsc2
-rw-r--r--System/Posix/Files.hsc2
-rw-r--r--System/Posix/IO.hsc2
-rw-r--r--System/Posix/Process.hsc2
-rw-r--r--System/Posix/Resource.hsc2
-rw-r--r--System/Posix/Semaphore.hsc2
-rw-r--r--System/Posix/SharedMem.hsc2
-rw-r--r--System/Posix/Signals/Exts.hsc2
-rw-r--r--System/Posix/Temp.hsc2
-rw-r--r--System/Posix/Terminal.hsc2
-rw-r--r--System/Posix/Time.hsc2
-rw-r--r--System/Posix/Unistd.hsc2
-rw-r--r--System/Posix/User.hsc2
16 files changed, 16 insertions, 16 deletions
diff --git a/System/Posix/Directory.hsc b/System/Posix/Directory.hsc
index 7c2f53b..6e220f5 100644
--- a/System/Posix/Directory.hsc
+++ b/System/Posix/Directory.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Files
diff --git a/System/Posix/DynamicLinker/Module.hsc b/System/Posix/DynamicLinker/Module.hsc
index c5e11c4..96a38df 100644
--- a/System/Posix/DynamicLinker/Module.hsc
+++ b/System/Posix/DynamicLinker/Module.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.DynamicLinker.Module
diff --git a/System/Posix/DynamicLinker/Prim.hsc b/System/Posix/DynamicLinker/Prim.hsc
index eb1985e..908d863 100644
--- a/System/Posix/DynamicLinker/Prim.hsc
+++ b/System/Posix/DynamicLinker/Prim.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.DynamicLinker.Prim
diff --git a/System/Posix/Env.hsc b/System/Posix/Env.hsc
index bd3f1ce..df7a3fe 100644
--- a/System/Posix/Env.hsc
+++ b/System/Posix/Env.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Env
diff --git a/System/Posix/Files.hsc b/System/Posix/Files.hsc
index f05ffed..c15c92c 100644
--- a/System/Posix/Files.hsc
+++ b/System/Posix/Files.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Files
diff --git a/System/Posix/IO.hsc b/System/Posix/IO.hsc
index a578e41..d7e07ef 100644
--- a/System/Posix/IO.hsc
+++ b/System/Posix/IO.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.IO
diff --git a/System/Posix/Process.hsc b/System/Posix/Process.hsc
index 9f0fa84..43cacec 100644
--- a/System/Posix/Process.hsc
+++ b/System/Posix/Process.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Process
diff --git a/System/Posix/Resource.hsc b/System/Posix/Resource.hsc
index ec3c660..1a3d2f6 100644
--- a/System/Posix/Resource.hsc
+++ b/System/Posix/Resource.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
{-# OPTIONS_GHC -w #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
diff --git a/System/Posix/Semaphore.hsc b/System/Posix/Semaphore.hsc
index 52bef18..5e8e104 100644
--- a/System/Posix/Semaphore.hsc
+++ b/System/Posix/Semaphore.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
diff --git a/System/Posix/SharedMem.hsc b/System/Posix/SharedMem.hsc
index f57d1e1..f0ed4e2 100644
--- a/System/Posix/SharedMem.hsc
+++ b/System/Posix/SharedMem.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
diff --git a/System/Posix/Signals/Exts.hsc b/System/Posix/Signals/Exts.hsc
index 55837df..0d98dd5 100644
--- a/System/Posix/Signals/Exts.hsc
+++ b/System/Posix/Signals/Exts.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Signals.Exts
diff --git a/System/Posix/Temp.hsc b/System/Posix/Temp.hsc
index 53eced4..0c9d436 100644
--- a/System/Posix/Temp.hsc
+++ b/System/Posix/Temp.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Temp
diff --git a/System/Posix/Terminal.hsc b/System/Posix/Terminal.hsc
index 8178d74..9e2ff28 100644
--- a/System/Posix/Terminal.hsc
+++ b/System/Posix/Terminal.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Terminal
diff --git a/System/Posix/Time.hsc b/System/Posix/Time.hsc
index d877f91..0fbce38 100644
--- a/System/Posix/Time.hsc
+++ b/System/Posix/Time.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Time
diff --git a/System/Posix/Unistd.hsc b/System/Posix/Unistd.hsc
index 1463d25..cb6e35d 100644
--- a/System/Posix/Unistd.hsc
+++ b/System/Posix/Unistd.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Unistd
diff --git a/System/Posix/User.hsc b/System/Posix/User.hsc
index d3af7d6..71d3fd2 100644
--- a/System/Posix/User.hsc
+++ b/System/Posix/User.hsc
@@ -1,4 +1,4 @@
-{-# OPTIONS -fffi #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.User