summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-10-23 09:50:23 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-10-23 09:50:23 +0300
commitfda6c48f004dace80d8a36c514f5d4bc04b9a74d (patch)
tree0ed0bc032707337ec84382a5412ac5e45b1c2cd0 /python
parent3b7a6a5a95e010ff1c9699342ce63520f35b4cb3 (diff)
downloadlibrpm-tizen-fda6c48f004dace80d8a36c514f5d4bc04b9a74d.tar.gz
librpm-tizen-fda6c48f004dace80d8a36c514f5d4bc04b9a74d.tar.bz2
librpm-tizen-fda6c48f004dace80d8a36c514f5d4bc04b9a74d.zip
Remove bunch of unnecessary rpmio_internal & related includes from python
Diffstat (limited to 'python')
-rw-r--r--python/header-py.c1
-rw-r--r--python/rpmfd-py.c6
-rw-r--r--python/rpmmodule.c1
3 files changed, 1 insertions, 7 deletions
diff --git a/python/header-py.c b/python/header-py.c
index feccf180c..5a1fb62d0 100644
--- a/python/header-py.c
+++ b/python/header-py.c
@@ -4,7 +4,6 @@
#include "system.h"
-#include "rpmio_internal.h"
#include "rpmlib.h"
#include "legacy.h"
diff --git a/python/rpmfd-py.c b/python/rpmfd-py.c
index 079da735c..30be42ff8 100644
--- a/python/rpmfd-py.c
+++ b/python/rpmfd-py.c
@@ -4,11 +4,7 @@
#include "system.h"
-#include <glob.h> /* XXX rpmio.h */
-#include <dirent.h> /* XXX rpmio.h */
-#include <rpmio_internal.h>
-
-#include <rpmlib.h> /* XXX _free */
+#include "rpmio_internal.h" /* XXX fdGetFp */
#include "header-py.h" /* XXX pyrpmError */
#include "rpmfd-py.h"
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 5a3627bc2..927e474e9 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -4,7 +4,6 @@
#include "system.h"
-#include <rpmio_internal.h>
#include <rpmdb.h>
#include <rpmsq.h>