From: Panu Matilainen Date: Wed, 24 Mar 2010 09:04:31 +0000 (+0200) Subject: Remove rpmteColorDS() from the API/ABI X-Git-Tag: rpm-4.9.0-beta1~799 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02307471935b2b0fecc5bd210983dccc0daf93ed;p=platform%2Fupstream%2Frpm.git 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 --- 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