From 02307471935b2b0fecc5bd210983dccc0daf93ed Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 24 Mar 2010 11:04:31 +0200 Subject: [PATCH] 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 --- lib/rpmte.c | 3 ++- lib/rpmte.h | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/rpmte.c b/lib/rpmte.c index 0a97955..9c75587 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 1f75c8c..185128f 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 -- 2.7.4