summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-24 11:04:31 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-24 11:04:31 +0200
commit02307471935b2b0fecc5bd210983dccc0daf93ed (patch)
tree3646bb73ca78a8a535d174e861012a635140d514
parente50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a (diff)
downloadrpm-02307471935b2b0fecc5bd210983dccc0daf93ed.tar.gz
rpm-02307471935b2b0fecc5bd210983dccc0daf93ed.tar.bz2
rpm-02307471935b2b0fecc5bd210983dccc0daf93ed.zip
Remove rpmteColorDS() from the API/ABI
- this gets called on transaction element initialization anyway, there's no reason why anybody should need to call it from outside
-rw-r--r--lib/rpmte.c3
-rw-r--r--lib/rpmte.h7
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 0a9795571..9c755875d 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -62,6 +62,7 @@ struct rpmte_s {
rpmfs fs;
};
+static void rpmteColorDS(rpmte te, rpmTag tag); /* forward declaration */
void rpmteCleanDS(rpmte te)
{
@@ -500,7 +501,7 @@ rpmfi rpmteFI(rpmte te)
return te->fi; /* XXX take fi reference here? */
}
-void rpmteColorDS(rpmte te, rpmTag tag)
+static void rpmteColorDS(rpmte te, rpmTag tag)
{
rpmfi fi = rpmteFI(te);
rpmds ds = rpmteDS(te, tag);
diff --git a/lib/rpmte.h b/lib/rpmte.h
index 1f75c8c4f..185128f1d 100644
--- a/lib/rpmte.h
+++ b/lib/rpmte.h
@@ -258,13 +258,6 @@ rpmds rpmteDS(rpmte te, rpmTag tag);
*/
rpmfi rpmteFI(rpmte te);
-/** \ingroup rpmte
- * Calculate transaction element dependency colors/refs from file info.
- * @param te transaction element
- * @param tag dependency tag (RPMTAG_PROVIDENAME, RPMTAG_REQUIRENAME)
- */
-void rpmteColorDS(rpmte te, rpmTag tag);
-
#ifdef __cplusplus
}
#endif