diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-14 15:50:17 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-14 15:50:17 +0200 |
commit | f5a712db5be29cf130a545af0645432713f6fa26 (patch) | |
tree | fc8ce3b378db93635e9b69aba30b92988ef9d135 | |
parent | 8d66d5fe4a9d7b7b015153edb8f204ac3b89c461 (diff) | |
download | librpm-tizen-f5a712db5be29cf130a545af0645432713f6fa26.tar.gz librpm-tizen-f5a712db5be29cf130a545af0645432713f6fa26.tar.bz2 librpm-tizen-f5a712db5be29cf130a545af0645432713f6fa26.zip |
Remove bogus consts..
-rw-r--r-- | rpmio/macro.c | 2 | ||||
-rw-r--r-- | rpmio/rpmpgp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index 753ee9be7..be0c9e7e8 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1635,7 +1635,7 @@ rpmExpand(const char *arg, ...) int rpmExpandNumeric(const char *arg) { - const char *val; + char *val; int rc; if (arg == NULL) diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c index 9ca66c8aa..841d08c55 100644 --- a/rpmio/rpmpgp.c +++ b/rpmio/rpmpgp.c @@ -946,7 +946,7 @@ int pgpPubkeyFingerprint(const uint8_t * pkt, size_t pktlen, int pgpExtractPubkeyFingerprint(const char * b64pkt, pgpKeyID_t keyid) { - const uint8_t * pkt; + uint8_t * pkt; size_t pktlen; if (b64decode(b64pkt, (void **)&pkt, &pktlen)) @@ -1290,7 +1290,7 @@ exit: char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) { - const char * enc; + char * enc; char * t; size_t nt = 0; char * val; |