Remove bogus consts..

This commit is contained in:
Panu Matilainen 2007-12-14 15:50:17 +02:00
parent 8d66d5fe4a
commit f5a712db5b
2 changed files with 3 additions and 3 deletions

View File

@ -1635,7 +1635,7 @@ rpmExpand(const char *arg, ...)
int int
rpmExpandNumeric(const char *arg) rpmExpandNumeric(const char *arg)
{ {
const char *val; char *val;
int rc; int rc;
if (arg == NULL) if (arg == NULL)

View File

@ -946,7 +946,7 @@ int pgpPubkeyFingerprint(const uint8_t * pkt, size_t pktlen,
int pgpExtractPubkeyFingerprint(const char * b64pkt, pgpKeyID_t keyid) int pgpExtractPubkeyFingerprint(const char * b64pkt, pgpKeyID_t keyid)
{ {
const uint8_t * pkt; uint8_t * pkt;
size_t pktlen; size_t pktlen;
if (b64decode(b64pkt, (void **)&pkt, &pktlen)) if (b64decode(b64pkt, (void **)&pkt, &pktlen))
@ -1290,7 +1290,7 @@ exit:
char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns)
{ {
const char * enc; char * enc;
char * t; char * t;
size_t nt = 0; size_t nt = 0;
char * val; char * val;