diff --git a/python/rpmps-py.c b/python/rpmps-py.c index 2d20560b1..b6dcf3fee 100644 --- a/python/rpmps-py.c +++ b/python/rpmps-py.c @@ -247,11 +247,6 @@ PyTypeObject rpmps_Type = { 0, /* tp_is_gc */ }; -rpmps psFromPs(rpmpsObject * s) -{ - return s->ps; -} - PyObject * rpmps_Wrap(PyTypeObject *subtype, rpmps ps) { rpmpsObject * s = (rpmpsObject *)subtype->tp_alloc(subtype, 0); diff --git a/python/rpmps-py.h b/python/rpmps-py.h index 70b568cfd..86183a9d6 100644 --- a/python/rpmps-py.h +++ b/python/rpmps-py.h @@ -12,8 +12,6 @@ extern PyTypeObject rpmps_Type; #define rpmProblemObject_Check(v) ((v)->ob_type == &rpmProblem_Type) #define rpmpsObject_Check(v) ((v)->ob_type == &rpmps_Type) -rpmps psFromPs(rpmpsObject * ps); - PyObject * rpmps_Wrap(PyTypeObject *subtype, rpmps ps); #endif