diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 09:30:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-18 09:30:40 +0200 |
commit | a56a86a79247f18e79f1ecab90879c05e6df5f45 (patch) | |
tree | 77eb87aec6f7acdc99f96aebfba8a6b47cb0f27e /rpmdb | |
parent | fbd12ed8018a146ca339f684348302d1f85c277d (diff) | |
download | librpm-tizen-a56a86a79247f18e79f1ecab90879c05e6df5f45.tar.gz librpm-tizen-a56a86a79247f18e79f1ecab90879c05e6df5f45.tar.bz2 librpm-tizen-a56a86a79247f18e79f1ecab90879c05e6df5f45.zip |
Remove bogus const from rpmdb match iterator contents
Diffstat (limited to 'rpmdb')
-rw-r--r-- | rpmdb/rpmdb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmdb/rpmdb.c b/rpmdb/rpmdb.c index 0032eb3f7..3f8ad4955 100644 --- a/rpmdb/rpmdb.c +++ b/rpmdb/rpmdb.c @@ -579,7 +579,7 @@ dbiIndexSet dbiFreeIndexSet(dbiIndexSet set) { typedef struct miRE_s { rpm_tag_t tag; /*!< header tag */ rpmMireMode mode; /*!< pattern match mode */ - const char * pattern; /*!< pattern string */ + char * pattern; /*!< pattern string */ int notmatch; /*!< like "grep -v" */ regex_t * preg; /*!< regex compiled pattern buffer */ int cflags; /*!< regcomp(3) flags */ @@ -589,7 +589,7 @@ typedef struct miRE_s { struct rpmdbMatchIterator_s { rpmdbMatchIterator mi_next; - const void * mi_keyp; + void * mi_keyp; size_t mi_keylen; rpmdb mi_db; rpm_tag_t mi_rpmtag; @@ -1733,7 +1733,7 @@ int rpmdbSetIteratorRE(rpmdbMatchIterator mi, rpm_tag_t tag, { static rpmMireMode defmode = (rpmMireMode)-1; miRE mire = NULL; - const char * allpat = NULL; + char * allpat = NULL; int notmatch = 0; regex_t * preg = NULL; int cflags = 0; @@ -2287,7 +2287,7 @@ rpmdbMatchIterator rpmdbInitIterator(rpmdb db, rpm_tag_t rpmtag, DBT * data; dbiIndexSet set = NULL; dbiIndex dbi; - const void * mi_keyp = NULL; + void * mi_keyp = NULL; int isLabel = 0; if (db == NULL) |