summaryrefslogtreecommitdiff
path: root/lib/rpmgi.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmgi.h')
-rw-r--r--lib/rpmgi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmgi.h b/lib/rpmgi.h
index 160d6b471..1a3fe82e0 100644
--- a/lib/rpmgi.h
+++ b/lib/rpmgi.h
@@ -24,7 +24,7 @@ struct rpmgi_s {
/*@refcounted@*/
rpmts ts; /*!< Iterator transaction set. */
int tag; /*!< Iterator type. */
- void * keyp; /*!< Iterator key. */
+ const void * keyp; /*!< Iterator key. */
size_t keylen; /*!< Iterator key length. */
int active; /*!< Iterator is active? */
@@ -110,7 +110,7 @@ rpmgi rpmgiFree(/*@killref@*/ /*@only@*/ /*@null@*/ rpmgi gi)
* @return new general iterator
*/
/*@null@*/
-rpmgi rpmgiNew(rpmts ts, int tag, void * keyp, size_t keylen)
+rpmgi rpmgiNew(rpmts ts, int tag, /*@null@*/ const void * keyp, size_t keylen)
/*@globals internalState @*/
/*@modifies ts, internalState @*/;