diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sss_python.c | 10 | ||||
-rw-r--r-- | src/util/sss_python.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/util/sss_python.c b/src/util/sss_python.c index 19717a55c..dad2a46d8 100644 --- a/src/util/sss_python.c +++ b/src/util/sss_python.c @@ -21,16 +21,6 @@ #include "src/util/sss_python.h" #include "config.h" -PyObject * -sss_python_set_new(void) -{ -#ifdef HAVE_PYSET_NEW - return PySet_New(NULL); -#else - return PyObject_CallObject((PyObject *) &PySet_Type, NULL); -#endif -} - int sss_python_set_add(PyObject *set, PyObject *key) { diff --git a/src/util/sss_python.h b/src/util/sss_python.h index cf8c84848..6851a64e8 100644 --- a/src/util/sss_python.h +++ b/src/util/sss_python.h @@ -26,7 +26,6 @@ #endif /* Wrappers providing the subset of C API for python's set objects we use */ -PyObject *sss_python_set_new(void); int sss_python_set_add(PyObject *set, PyObject *key); bool sss_python_set_check(PyObject *set); |