Commit b612bb2858a6ba2d64bd1bfc4ff8aa1c701a9985

Thomas de Grivel 2017-05-21T17:04:13

Move errno to cffi-errno.

diff --git a/grovel-sockets.lisp b/grovel-sockets.lisp
index 09640d4..0bba75b 100644
--- a/grovel-sockets.lisp
+++ b/grovel-sockets.lisp
@@ -43,7 +43,3 @@
 
 (ctype sa-family-t "sa_family_t")
 (ctype in-port-t "in_port_t")
-
-;;  Errors
-
-(cvar ("errno" errno) :int)
diff --git a/package.lisp b/package.lisp
index fb464ac..24b0b47 100644
--- a/package.lisp
+++ b/package.lisp
@@ -4,8 +4,8 @@
 (defpackage :cffi-sockets
   (:use
    :cffi
-   :cffi-errno
-   :common-lisp)
+   :common-lisp
+   :errno)
   (:export
    #:+af-unix+
    #:+af-local+