diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-08-24 08:51:01 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-08-24 08:51:01 +0300 |
commit | 621be76cc013a36c0e37f4879e43bdaa89228a1a (patch) | |
tree | 15ac1a832df4d790d0f2ca396a68a640b28d153c | |
parent | 12322bad67b809101017a3991e67d09a2af4803c (diff) | |
download | librpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.tar.gz librpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.tar.bz2 librpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.zip |
Make rpmteHaveTransScript() available internally
-rw-r--r-- | lib/rpmte.c | 2 | ||||
-rw-r--r-- | lib/rpmte_internal.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c index 9e4db2c3a..38a89f2df 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 66f9788cb..abcdb9020 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); |