summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-08-24 08:51:01 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-08-24 08:51:01 +0300
commit621be76cc013a36c0e37f4879e43bdaa89228a1a (patch)
tree15ac1a832df4d790d0f2ca396a68a640b28d153c
parent12322bad67b809101017a3991e67d09a2af4803c (diff)
downloadlibrpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.tar.gz
librpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.tar.bz2
librpm-tizen-621be76cc013a36c0e37f4879e43bdaa89228a1a.zip
Make rpmteHaveTransScript() available internally
-rw-r--r--lib/rpmte.c2
-rw-r--r--lib/rpmte_internal.h3
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);