about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYuce Tekol <yucetekol@gmail.com>2019-05-03 13:07:56 +0300
committerYuce Tekol <yucetekol@gmail.com>2019-05-03 13:07:56 +0300
commitaefef1875c0d367e720c4b68919210bb34d755bc (patch)
tree813e6f31d869f62a8808f25b6cad89d3a45cddd0
parent40df1261b2c161a5e4fddd599d5d77bd0ebec930 (diff)
downloadpyopenbsd-aefef1875c0d367e720c4b68919210bb34d755bc.tar.gz
removed strerror
-rw-r--r--openbsd/__init__.py1
-rw-r--r--openbsd/openbsd_builder.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/openbsd/__init__.py b/openbsd/__init__.py
index e321f61..a688661 100644
--- a/openbsd/__init__.py
+++ b/openbsd/__init__.py
@@ -5,7 +5,6 @@ from cffi import FFI
 from ._openbsd import lib as _lib
 
 __all__ = ["pledge", "unveil"]
-
 _ffi = FFI()
 
 
diff --git a/openbsd/openbsd_builder.py b/openbsd/openbsd_builder.py
index a8720c1..7778796 100644
--- a/openbsd/openbsd_builder.py
+++ b/openbsd/openbsd_builder.py
@@ -5,13 +5,11 @@ ffibuilder = FFI()
 ffibuilder.cdef('''
     int pledge(const char *promises, const char *execpromises);
     int unveil(const char *path, const char *permissions);
-    char *strerror(int errnum);
 ''')
 
 ffibuilder.set_source("openbsd._openbsd",
 """
     #include <unistd.h>
-    #include <string.h>
 """)
 
 if __name__ == "__main__":