diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 17:42:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 17:42:19 +0200 |
commit | d718b12f5bf5b94c418b8235e45625cbccca6220 (patch) | |
tree | 18c6fe59a6b06b2b1092a1c2e6f67f8657f27cc6 /build/rpmspec.h | |
parent | 53ca9c775f5f3954f140f462d22bb28cde02c6cd (diff) | |
download | rpm-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.gz rpm-d718b12f5bf5b94c418b8235e45625cbccca6220.tar.bz2 rpm-d718b12f5bf5b94c418b8235e45625cbccca6220.zip |
Mass convert (back) to rpmTag as it's usable everywhere now
- cast away a few cases where the enum usage causes ridiculous amount
of compiler warnings from unhandled switch-cases
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r-- | build/rpmspec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h index 64dca0ce0..e5a767bc4 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -209,7 +209,7 @@ struct OpenFileInfo * newOpenFileInfo(void); * @param tag tag * @param lang locale */ -spectag stashSt(rpmSpec spec, Header h, rpm_tag_t tag, const char * lang); +spectag stashSt(rpmSpec spec, Header h, rpmTag tag, const char * lang); /** \ingroup rpmbuild * addSource. @@ -218,7 +218,7 @@ spectag stashSt(rpmSpec spec, Header h, rpm_tag_t tag, const char * lang); * @param field field to parse * @param tag tag */ -int addSource(rpmSpec spec, Package pkg, const char * field, rpm_tag_t tag); +int addSource(rpmSpec spec, Package pkg, const char * field, rpmTag tag); /** \ingroup rpmbuild * parseNoSource. @@ -226,7 +226,7 @@ int addSource(rpmSpec spec, Package pkg, const char * field, rpm_tag_t tag); * @param field field to parse * @param tag tag */ -int parseNoSource(rpmSpec spec, const char * field, rpm_tag_t tag); +int parseNoSource(rpmSpec spec, const char * field, rpmTag tag); #ifdef __cplusplus } |