Make rpmteHaveTransScript() available internally
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 24 Aug 2012 05:51:01 +0000 (08:51 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 24 Aug 2012 05:51:01 +0000 (08:51 +0300)
lib/rpmte.c
lib/rpmte_internal.h

index 9e4db2c..38a89f2 100644 (file)
@@ -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) {
index 66f9788..abcdb90 100644 (file)
@@ -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);