diff options
author | Yuce Tekol <yucetekol@gmail.com> | 2019-05-03 13:07:56 +0300 |
---|---|---|
committer | Yuce Tekol <yucetekol@gmail.com> | 2019-05-03 13:07:56 +0300 |
commit | aefef1875c0d367e720c4b68919210bb34d755bc (patch) | |
tree | 813e6f31d869f62a8808f25b6cad89d3a45cddd0 | |
parent | 40df1261b2c161a5e4fddd599d5d77bd0ebec930 (diff) | |
download | pyopenbsd-aefef1875c0d367e720c4b68919210bb34d755bc.tar.gz |
removed strerror
-rw-r--r-- | openbsd/__init__.py | 1 | ||||
-rw-r--r-- | openbsd/openbsd_builder.py | 2 |
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__": |