Remove unused FFI imports from gnutls-extra.

Bump version to 0.1.3.
This commit is contained in:
John Millikin 2012-06-14 18:13:41 -07:00
parent 5001417174
commit 04064950bd
No known key found for this signature in database
GPG key ID: 59A38F85F9C7C59E
2 changed files with 4 additions and 10 deletions

View file

@ -1,5 +1,5 @@
name: gnutls
version: 0.1.2
version: 0.1.3
license: GPL-3
license-file: license.txt
author: John Millikin <jmillikin@gmail.com>
@ -26,7 +26,7 @@ source-repository head
source-repository this
type: bazaar
location: https://john-millikin.com/branches/haskell-gnutls/0.1/
tag: haskell-gnutls_0.1.2
tag: haskell-gnutls_0.1.3
library
hs-source-dirs: lib
@ -38,8 +38,8 @@ library
, transformers >= 0.2
, monads-tf >= 0.1 && < 0.2
extra-libraries: gnutls, gnutls-extra
pkgconfig-depends: gnutls, gnutls-extra
extra-libraries: gnutls
pkgconfig-depends: gnutls
exposed-modules:
Network.Protocol.TLS.GNU

View file

@ -104,15 +104,9 @@ newtype Datum = Datum (Ptr Word8, CUInt)
foreign import ccall safe "gnutls_check_version"
gnutls_check_version :: CString -> IO CString
foreign import ccall safe "gnutls_extra_check_version"
gnutls_extra_check_version :: CString -> IO CString
foreign import ccall safe "gnutls_global_init"
gnutls_global_init :: IO ReturnCode
foreign import ccall safe "gnutls_global_init_extra"
gnutls_global_init_extra :: IO ReturnCode
foreign import ccall safe "gnutls_global_deinit"
gnutls_global_deinit :: IO ()