summaryrefslogtreecommitdiff
path: root/lib/rpmlegacy.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-07-08 16:49:54 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-07-08 18:54:29 +0300
commitd8bdf1ef85dbde77fd5f7d5bd5db6c09650580ab (patch)
tree0ec42cb0ad080bf5456d786bf6d98bca8ef7e1e1 /lib/rpmlegacy.h
parent425d43a8a056685432c9f80b12b1ec8920950408 (diff)
downloadlibrpm-tizen-d8bdf1ef85dbde77fd5f7d5bd5db6c09650580ab.tar.gz
librpm-tizen-d8bdf1ef85dbde77fd5f7d5bd5db6c09650580ab.tar.bz2
librpm-tizen-d8bdf1ef85dbde77fd5f7d5bd5db6c09650580ab.zip
Add deprecation markers for hge etc vector prototypes
Diffstat (limited to 'lib/rpmlegacy.h')
-rw-r--r--lib/rpmlegacy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rpmlegacy.h b/lib/rpmlegacy.h
index ea201a0fc..2a1135cad 100644
--- a/lib/rpmlegacy.h
+++ b/lib/rpmlegacy.h
@@ -198,14 +198,14 @@ void * headerFreeData(rpm_data_t data, rpmTagType type) RPM_GNUC_DEPRECATED;
* Prototypes for headerGetEntry(), headerFreeData() etc vectors.
* @{
*/
-typedef void * (*HFD_t) (rpm_data_t data, rpmTagType type);
+typedef void * (*HFD_t) (rpm_data_t data, rpmTagType type) RPM_GNUC_DEPRECATED;
typedef int (*HGE_t) (Header h, rpmTag tag, rpmTagType * type,
- rpm_data_t * p, rpm_count_t * c);
+ rpm_data_t * p, rpm_count_t * c) RPM_GNUC_DEPRECATED;
typedef int (*HAE_t) (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;
typedef int (*HME_t) (Header h, rpmTag tag, rpmTagType type,
- rpm_constdata_t p, rpm_count_t c);
-typedef int (*HRE_t) (Header h, rpmTag tag);
+ rpm_constdata_t p, rpm_count_t c) RPM_GNUC_DEPRECATED;
+typedef int (*HRE_t) (Header h, rpmTag tag) RPM_GNUC_DEPRECATED;
/** @} */
#endif /* _RPM_4_4_COMPAT */