summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-11-18 09:40:30 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-11-18 09:40:30 +0200
commita237f1eee0b495691c2a9565ad2b0f5140c00298 (patch)
treed895e14fc9aabbf98ff47c36e6c61d3d17edcaec /python
parenta2a4599fc6947d30c5ecf42420528a91d1975093 (diff)
downloadlibrpm-tizen-a237f1eee0b495691c2a9565ad2b0f5140c00298.tar.gz
librpm-tizen-a237f1eee0b495691c2a9565ad2b0f5140c00298.tar.bz2
librpm-tizen-a237f1eee0b495691c2a9565ad2b0f5140c00298.zip
Remove unused psFromPs()
Diffstat (limited to 'python')
-rw-r--r--python/rpmps-py.c5
-rw-r--r--python/rpmps-py.h2
2 files changed, 0 insertions, 7 deletions
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