Remove leftovers from python header files
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 19 Oct 2009 14:21:31 +0000 (17:21 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 19 Oct 2009 14:21:31 +0000 (17:21 +0300)
- rpmSingleHeaderFromFD() and hdrLoad() are now implemented in python,
  declarations accidentally left here
- make rpmMergeHeaders() static, nothing outside header-py.c needs

python/header-py.c
python/header-py.h

index 3c2f394..36543f4 100644 (file)
@@ -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;
index 8c9dd68..497ce3a 100644 (file)
@@ -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