diff options
Diffstat (limited to 'rpmdb')
-rw-r--r-- | rpmdb/header.c | 5 | ||||
-rw-r--r-- | rpmdb/header.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/rpmdb/header.c b/rpmdb/header.c index c69717af1..18b7aa828 100644 --- a/rpmdb/header.c +++ b/rpmdb/header.c @@ -3043,9 +3043,10 @@ const struct headerSprintfExtension_s headerDefaultFormats[] = { { HEADER_EXT_LAST, NULL, { NULL } } }; -void headerCopyTags(Header headerFrom, Header headerTo, rpmTag * tagstocopy) +void headerCopyTags(Header headerFrom, Header headerTo, + const rpmTag * tagstocopy) { - rpmTag * p; + const rpmTag * p; if (headerFrom == headerTo) return; diff --git a/rpmdb/header.h b/rpmdb/header.h index 25f80e494..1fead0144 100644 --- a/rpmdb/header.h +++ b/rpmdb/header.h @@ -419,7 +419,8 @@ char * headerSprintf(Header h, const char * fmt, * @param headerTo destination header * @param tagstocopy array of tags that are copied */ -void headerCopyTags(Header headerFrom, Header headerTo, rpmTag * tagstocopy); +void headerCopyTags(Header headerFrom, Header headerTo, + const rpmTag * tagstocopy); /** \ingroup header * Destroy header tag iterator. |