diff options
-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__": |