summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:31:36 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:31:36 +0300
commitf955db901b1a84b39906281a7e35d3147ef3df69 (patch)
tree0b249c74612978f861c8a5ef2ac627b5df69faa4 /lib/rpmte.c
parent73c079735a2af231ff63e7150fdee3b33bacbae6 (diff)
downloadrpm-f955db901b1a84b39906281a7e35d3147ef3df69.tar.gz
rpm-f955db901b1a84b39906281a7e35d3147ef3df69.tar.bz2
rpm-f955db901b1a84b39906281a7e35d3147ef3df69.zip
Switch rpmte API and internals to use rpmTagVal instead of rpmTag
- Except for rpmteColorDS(), these can get called with intergral value instead of the actual enumeration
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 976be60e1..9638831c1 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -513,7 +513,7 @@ fnpyKey rpmteKey(rpmte te)
return (te != NULL ? te->key : NULL);
}
-rpmds rpmteDS(rpmte te, rpmTag tag)
+rpmds rpmteDS(rpmte te, rpmTagVal tag)
{
if (te == NULL)
return NULL;
@@ -730,7 +730,7 @@ int rpmteFailed(rpmte te)
return (te != NULL) ? te->failed : -1;
}
-static int rpmteHaveTransScript(rpmte te, rpmTag tag)
+static int rpmteHaveTransScript(rpmte te, rpmTagVal tag)
{
int rc = 0;
if (tag == RPMTAG_PRETRANS) {