Remove bogus consts..
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Dec 2007 13:50:17 +0000 (15:50 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Dec 2007 13:50:17 +0000 (15:50 +0200)
rpmio/macro.c
rpmio/rpmpgp.c

index 753ee9b..be0c9e7 100644 (file)
@@ -1635,7 +1635,7 @@ rpmExpand(const char *arg, ...)
 int
 rpmExpandNumeric(const char *arg)
 {
-    const char *val;
+    char *val;
     int rc;
 
     if (arg == NULL)
index 9ca66c8..841d08c 100644 (file)
@@ -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;