From 621be76cc013a36c0e37f4879e43bdaa89228a1a Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 24 Aug 2012 08:51:01 +0300 Subject: [PATCH] Make rpmteHaveTransScript() available internally --- lib/rpmte.c | 2 +- lib/rpmte_internal.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rpmte.c b/lib/rpmte.c index 9e4db2c..38a89f2 100644 --- a/lib/rpmte.c +++ b/lib/rpmte.c @@ -772,7 +772,7 @@ int rpmteFailed(rpmte te) return (te != NULL) ? te->failed : -1; } -static int rpmteHaveTransScript(rpmte te, rpmTagVal tag) +int rpmteHaveTransScript(rpmte te, rpmTagVal tag) { int rc = 0; if (tag == RPMTAG_PRETRANS) { diff --git a/lib/rpmte_internal.h b/lib/rpmte_internal.h index 66f9788..abcdb90 100644 --- a/lib/rpmte_internal.h +++ b/lib/rpmte_internal.h @@ -78,6 +78,9 @@ tsortInfo rpmteTSI(rpmte te); RPM_GNUC_INTERNAL void rpmteSetTSI(rpmte te, tsortInfo tsi); +RPM_GNUC_INTERNAL +int rpmteHaveTransScript(rpmte te, rpmTagVal tag); + /* XXX should be internal too but build code needs for now... */ rpmfs rpmteGetFileStates(rpmte te); -- 2.7.4