summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-26 09:32:57 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-26 09:32:57 +0300
commitec3ab45ad2b867d27af5e5fc5e13a955933675e8 (patch)
tree2039332f9fec48cce54521b542f4190aaee8540d /lib
parentbc84f12def0fba3ba4e7d3963a1de16a32c3b6da (diff)
downloadrpm-ec3ab45ad2b867d27af5e5fc5e13a955933675e8.tar.gz
rpm-ec3ab45ad2b867d27af5e5fc5e13a955933675e8.tar.bz2
rpm-ec3ab45ad2b867d27af5e5fc5e13a955933675e8.zip
Deprecate headerNextIterator()
Diffstat (limited to 'lib')
-rw-r--r--lib/header.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/header.h b/lib/header.h
index c0abef66b..cb0ebba61 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -376,6 +376,8 @@ int headerNext(HeaderIterator hi, rpmtd td);
/** \ingroup header
* Return next tag from header.
+ * @deprecated Use headerNext() instead.
+ *
* @param hi header tag iterator
* @retval *tag tag
* @retval *type tag value data type
@@ -387,7 +389,7 @@ int headerNextIterator(HeaderIterator hi,
rpmTag * tag,
rpmTagType * type,
rpm_data_t * p,
- rpm_count_t * c);
+ rpm_count_t * c) RPM_GNUC_DEPRECATED;