summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-10-19 17:21:31 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-10-19 17:21:31 +0300
commitcab7c23976fa83a57fcb63694748e0e40ca9fda4 (patch)
tree6cefcbbac0ac01a53a322fbefb5608b1d77bd944
parent72165c7717e26050c6785f8b103f69baaa06dd40 (diff)
downloadlibrpm-tizen-cab7c23976fa83a57fcb63694748e0e40ca9fda4.tar.gz
librpm-tizen-cab7c23976fa83a57fcb63694748e0e40ca9fda4.tar.bz2
librpm-tizen-cab7c23976fa83a57fcb63694748e0e40ca9fda4.zip
Remove leftovers from python header files
- rpmSingleHeaderFromFD() and hdrLoad() are now implemented in python, declarations accidentally left here - make rpmMergeHeaders() static, nothing outside header-py.c needs
-rw-r--r--python/header-py.c2
-rw-r--r--python/header-py.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/python/header-py.c b/python/header-py.c
index 3c2f3942a..36543f4f1 100644
--- a/python/header-py.c
+++ b/python/header-py.c
@@ -568,7 +568,7 @@ int hdrFromPyObject(PyObject *item, Header *hptr)
* This assumes the order of list matches the order of the new headers, and
* throws an exception if that isn't true.
*/
-int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag)
+static int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag)
{
Header h;
HeaderIterator hi;
diff --git a/python/header-py.h b/python/header-py.h
index 8c9dd6811..497ce3ac1 100644
--- a/python/header-py.h
+++ b/python/header-py.h
@@ -23,8 +23,4 @@ int tagNumFromPyObject (PyObject *item, rpmTag *tagp);
PyObject * labelCompare (PyObject * self, PyObject * args);
PyObject * versionCompare (PyObject * self, PyObject * args, PyObject * kwds);
PyObject * rpmMergeHeadersFromFD(PyObject * self, PyObject * args, PyObject * kwds);
-int rpmMergeHeaders(PyObject * list, FD_t fd, int matchTag);
-PyObject * rpmSingleHeaderFromFD(PyObject * self, PyObject * args, PyObject * kwds);
-PyObject * hdrLoad(PyObject * self, PyObject * args, PyObject * kwds);
-
#endif