summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-07 10:17:10 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-07 10:17:10 +0200
commit8239d0b74b6363fa38576d40a3ab4531a047f028 (patch)
tree4f6bd57d16e598d63d084f09bea2d4aa03466da3 /lib
parentd8babb5a863011d4a384c8f77ca4aefa07805bbb (diff)
downloadlibrpm-tizen-8239d0b74b6363fa38576d40a3ab4531a047f028.tar.gz
librpm-tizen-8239d0b74b6363fa38576d40a3ab4531a047f028.tar.bz2
librpm-tizen-8239d0b74b6363fa38576d40a3ab4531a047f028.zip
Remove bunch of unnecessary misc.h includes, document others
Diffstat (limited to 'lib')
-rw-r--r--lib/manifest.c1
-rw-r--r--lib/package.c1
-rw-r--r--lib/psm.c2
-rw-r--r--lib/query.c2
-rw-r--r--lib/rpmps.c1
-rw-r--r--lib/rpmrc.c1
-rw-r--r--lib/transaction.c2
-rw-r--r--lib/trb.c1
8 files changed, 3 insertions, 8 deletions
diff --git a/lib/manifest.c b/lib/manifest.c
index 93bf4d0c8..3d0cda95e 100644
--- a/lib/manifest.c
+++ b/lib/manifest.c
@@ -9,7 +9,6 @@
#include "stringbuf.h"
#include "manifest.h"
-#include "misc.h"
#include "debug.h"
diff --git a/lib/package.c b/lib/package.c
index 525c5d7a5..1ad48c7c7 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -11,7 +11,6 @@
#include "rpmts.h"
-#include "misc.h" /* XXX stripTrailingChar() */
#include "legacy.h" /* XXX legacyRetrofit() */
#include "rpmlead.h"
diff --git a/lib/psm.c b/lib/psm.c
index aa43a08df..a8e6e2b2f 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -29,7 +29,7 @@
#include "rpmlead.h" /* writeLead proto */
#include "signature.h" /* signature constants */
#include "legacy.h" /* XXX rpmfiBuildFNames() */
-#include "misc.h" /* XXX stripTrailingChar() */
+#include "misc.h" /* XXX rpmMkdirPath, makeTempFile, doputenv */
#include "rpmdb.h" /* XXX for db_chrootDone */
#include "rpmerr.h"
#include "debug.h"
diff --git a/lib/query.c b/lib/query.c
index 2f9369a5d..83d77f961 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -21,7 +21,7 @@
#include "rpmerr.h"
#include "debug.h"
-#include "misc.h"
+#include "misc.h" /* XXX for currentDirectory */
/**
diff --git a/lib/rpmps.c b/lib/rpmps.c
index ce9453c90..53a4c72eb 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -8,7 +8,6 @@
#include "rpmps.h"
-#include "misc.h"
#include "debug.h"
/**
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 07a895dc9..dd121cbe3 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -19,7 +19,6 @@
#include "rpmlua.h"
#include "rpmerr.h"
-#include "misc.h"
#include "debug.h"
static const char *defrcfiles =
diff --git a/lib/transaction.c b/lib/transaction.c
index 649d3e7b6..e5fe87387 100644
--- a/lib/transaction.c
+++ b/lib/transaction.c
@@ -28,7 +28,7 @@
#include "cpio.h"
#include "fprint.h"
#include "legacy.h" /* XXX domd5 */
-#include "misc.h" /* XXX stripTrailingChar, splitString, currentDirectory */
+#include "misc.h" /* XXX (free)splitString, currentDirectory */
#include "debug.h"
diff --git a/lib/trb.c b/lib/trb.c
index 59a38fd81..153a31a29 100644
--- a/lib/trb.c
+++ b/lib/trb.c
@@ -1,6 +1,5 @@
#include "system.h"
#include "rpmcli.h"
-#include "misc.h"
#include "rpmts.h"
#include "debug.h"