summaryrefslogtreecommitdiff
path: root/lib/header.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-18 14:59:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-18 14:59:13 +0300
commitb6577f0e6de7f7888823eeaa396c6d2bae369f20 (patch)
tree47e1aa7d6433f6577a3fcdc3b2b5dd20f4db93ab /lib/header.h
parenta8f23a461958479a773c482260899522b76efa81 (diff)
downloadrpm-b6577f0e6de7f7888823eeaa396c6d2bae369f20.tar.gz
rpm-b6577f0e6de7f7888823eeaa396c6d2bae369f20.tar.bz2
rpm-b6577f0e6de7f7888823eeaa396c6d2bae369f20.zip
Switch around headerMod() and headerModifyEntry()
- headerModifyEntry() is the legacy interface going away, make it use headerMod() and deprecate it
Diffstat (limited to 'lib/header.h')
-rw-r--r--lib/header.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/header.h b/lib/header.h
index aa8378f6d..d051d3a2b 100644
--- a/lib/header.h
+++ b/lib/header.h
@@ -318,7 +318,7 @@ int headerMod(Header h, rpmtd td);
* @return 1 on success, 0 on failure
*/
int headerModifyEntry(Header h, rpmTag tag, rpmTagType type,
- rpm_constdata_t p, rpm_count_t c);
+ rpm_constdata_t p, rpm_count_t c) RPM_GNUC_DEPRECATED;
/** \ingroup header
* Delete tag in header.