diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 19:32:37 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-13 19:32:37 +0200 |
commit | 7e56c6355bea552d89e8d5d0a317763a8cee4a4f (patch) | |
tree | c18ddebb9e8e6da144d00909c61fdcecdf718057 /lib/formats.c | |
parent | cbd7a684a4cd88bfa3383658790be3c37230707a (diff) | |
download | rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.gz rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.tar.bz2 rpm-7e56c6355bea552d89e8d5d0a317763a8cee4a4f.zip |
Use rpm_tag_t everywhere for rpm (header) tag type
- typedef'ed as int32_t for now, negative values used in some places for
error cases
- easy to grep, easy to change...
- add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
Diffstat (limited to 'lib/formats.c')
-rw-r--r-- | lib/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formats.c b/lib/formats.c index 7333368fc..db0c27588 100644 --- a/lib/formats.c +++ b/lib/formats.c @@ -812,7 +812,7 @@ static const char * _macro_i18ndomains = "%{?_i18ndomains}"; * @retval *freeData data-was-malloc'ed indicator * @return 0 on success */ -static int i18nTag(Header h, int32_t tag, rpmTagType * type, +static int i18nTag(Header h, rpm_tag_t tag, rpmTagType * type, const void ** data, rpm_count_t * count, int * freeData) { |