diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 16:14:34 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 16:14:34 +0200 |
commit | 130118d594ef2dfb02e5a2938fe4e1da1b3e6955 (patch) | |
tree | 1170290d4320f19ffba65fcb4c05c0d42dea447b /lib/package.c | |
parent | bbcf8f5ff09a11ba9dcf688c923afcfd62dd9d4d (diff) | |
download | rpm-130118d594ef2dfb02e5a2938fe4e1da1b3e6955.tar.gz rpm-130118d594ef2dfb02e5a2938fe4e1da1b3e6955.tar.bz2 rpm-130118d594ef2dfb02e5a2938fe4e1da1b3e6955.zip |
Use rpmTagType always now that it's available everywhere
- RPM_MASK_TYPE is not a datatype, move it out of the enum
- add missing cases python header handling to shut up gcc
Diffstat (limited to 'lib/package.c')
-rw-r--r-- | lib/package.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/package.c b/lib/package.c index 8ae7d339f..ce0129161 100644 --- a/lib/package.c +++ b/lib/package.c @@ -86,7 +86,7 @@ void headerMergeLegacySigs(Header h, const Header sigh) HFD_t hfd = (HFD_t) headerFreeData; HAE_t hae = (HAE_t) headerAddEntry; HeaderIterator hi; - rpm_tagtype_t type; + rpmTagType type; rpm_tag_t tag; rpm_count_t count; rpm_data_t ptr; @@ -170,7 +170,7 @@ Header headerRegenSigHeader(const Header h, int noArchiveSize) HeaderIterator hi; rpm_count_t count; rpm_tag_t tag, stag; - rpm_tagtype_t type; + rpmTagType type; rpm_data_t ptr; int xx; @@ -683,7 +683,7 @@ rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, const char * fn, Header * hdrp) rpmlead l = NULL; Header sigh = NULL; rpm_tag_t sigtag; - rpm_tagtype_t sigtype; + rpmTagType sigtype; rpm_data_t sig; rpm_count_t siglen; rpmtsOpX opx; @@ -824,7 +824,7 @@ rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, const char * fn, Header * hdrp) goto exit; } { void * uh = NULL; - rpm_tagtype_t uht; + rpmTagType uht; rpm_count_t uhc; if (!headerGetEntry(h, RPMTAG_HEADERIMMUTABLE, &uht, &uh, &uhc)) @@ -851,7 +851,7 @@ rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, const char * fn, Header * hdrp) } case RPMSIGTAG_SHA1: { void * uh = NULL; - rpm_tagtype_t uht; + rpmTagType uht; rpm_count_t uhc; if (!headerGetEntry(h, RPMTAG_HEADERIMMUTABLE, &uht, &uh, &uhc)) |