summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasVanDijk <>2009-10-07 12:17:51 (GMT)
committerLuite Stegeman <luite@luite.com>2009-10-07 12:17:51 (GMT)
commit6f612bf7852d4f577e5ee31be41e7c2a8cb0abd2 (patch)
treef5465e160f21e9cac7dfcc34e7ad2f838d1e1cd1
parent1233c6c3548d164ce7d9ba28c4278ea9dcae7cde (diff)
version 1.21.2
-rw-r--r--bindings-posix.cabal4
-rw-r--r--src/Bindings/Posix.hsc1
-rw-r--r--src/Bindings/Posix/Errno.hsc3
-rw-r--r--src/Bindings/Posix/Signal.hsc3
-rw-r--r--src/Bindings/Posix/Sys/Select.hsc3
-rw-r--r--src/Bindings/Posix/Sys/Types.hsc3
-rw-r--r--src/Bindings/Posix/Sys/Utsname.hsc3
-rw-r--r--src/Bindings/Posix/Time.hsc3
-rw-r--r--src/Bindings/Posix/Unistd.hsc3
9 files changed, 10 insertions, 16 deletions
diff --git a/bindings-posix.cabal b/bindings-posix.cabal
index b0f8e0c..30e32b7 100644
--- a/bindings-posix.cabal
+++ b/bindings-posix.cabal
@@ -3,7 +3,7 @@ name: bindings-posix
homepage: http://bitbucket.org/mauricio/bindings-posix
synopsis:
Low level bindings to posix.
-version: 1.1
+version: 1.2
license: BSD3
license-file: LICENSE
maintainer: MaurĂ­cio C. Antunes <mauricio.antunes@gmail.com>
@@ -17,7 +17,7 @@ library
ForeignFunctionInterface
build-depends:
base >= 3 && < 5,
- bindings-common >= 1 && < 2
+ bindings-common >= 1.3 && < 1.4
exposed-modules:
-- Time incompleto!
Bindings.Posix
diff --git a/src/Bindings/Posix.hsc b/src/Bindings/Posix.hsc
index a622a31..b1afd90 100644
--- a/src/Bindings/Posix.hsc
+++ b/src/Bindings/Posix.hsc
@@ -7,6 +7,7 @@ module Bindings.Posix (
module Bindings.Posix.Time,
module Bindings.Posix.Unistd,
) where
+import Prelude ()
import Bindings.Posix.Errno
import Bindings.Posix.Signal
import Bindings.Posix.Sys.Select
diff --git a/src/Bindings/Posix/Errno.hsc b/src/Bindings/Posix/Errno.hsc
index 3f5ee5d..202a422 100644
--- a/src/Bindings/Posix/Errno.hsc
+++ b/src/Bindings/Posix/Errno.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html>
module Bindings.Posix.Errno where
-import Foreign
-import Foreign.C
+#strict_import
#num E2BIG
#num EACCES
diff --git a/src/Bindings/Posix/Signal.hsc b/src/Bindings/Posix/Signal.hsc
index 26baecf..dbcfdb0 100644
--- a/src/Bindings/Posix/Signal.hsc
+++ b/src/Bindings/Posix/Signal.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html>
module Bindings.Posix.Signal where
-import Foreign
-import Foreign.C
+#strict_import
import Bindings.Posix.Sys.Types
import Bindings.Posix.Time
diff --git a/src/Bindings/Posix/Sys/Select.hsc b/src/Bindings/Posix/Sys/Select.hsc
index ac9e039..aa63548 100644
--- a/src/Bindings/Posix/Sys/Select.hsc
+++ b/src/Bindings/Posix/Sys/Select.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html>
module Bindings.Posix.Sys.Select where
-import Foreign
-import Foreign.C
+#strict_import
import Bindings.Posix.Sys.Types
import Bindings.Posix.Time
import Bindings.Posix.Signal
diff --git a/src/Bindings/Posix/Sys/Types.hsc b/src/Bindings/Posix/Sys/Types.hsc
index 55b2832..6b2c867 100644
--- a/src/Bindings/Posix/Sys/Types.hsc
+++ b/src/Bindings/Posix/Sys/Types.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html>
module Bindings.Posix.Sys.Types where
-import Foreign
-import Foreign.C
+#strict_import
#integral_t blkcnt_t
#integral_t blksize_t
diff --git a/src/Bindings/Posix/Sys/Utsname.hsc b/src/Bindings/Posix/Sys/Utsname.hsc
index 9881c07..1b67bb8 100644
--- a/src/Bindings/Posix/Sys/Utsname.hsc
+++ b/src/Bindings/Posix/Sys/Utsname.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_utsname.h.html>
module Bindings.Posix.Sys.Utsname where
-import Foreign
-import Foreign.C
+#strict_import
#starttype struct utsname
#array_field sysname , CChar
diff --git a/src/Bindings/Posix/Time.hsc b/src/Bindings/Posix/Time.hsc
index 8aa908e..0d0c4e5 100644
--- a/src/Bindings/Posix/Time.hsc
+++ b/src/Bindings/Posix/Time.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html>
module Bindings.Posix.Time where
-import Foreign
-import Foreign.C
+#strict_import
#starttype struct timespec
#field tv_sec , CTime
diff --git a/src/Bindings/Posix/Unistd.hsc b/src/Bindings/Posix/Unistd.hsc
index 9a5bf1a..fd643c3 100644
--- a/src/Bindings/Posix/Unistd.hsc
+++ b/src/Bindings/Posix/Unistd.hsc
@@ -4,8 +4,7 @@
-- | <http://www.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html>
module Bindings.Posix.Unistd where
-import Foreign
-import Foreign.C
+#strict_import
import Bindings.Posix.Sys.Types
#num _POSIX_VERSION