More const removals
authorPanu Matilainen <pmatilai@redhat.com>
Sun, 16 Dec 2007 19:21:31 +0000 (21:21 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Sun, 16 Dec 2007 19:21:31 +0000 (21:21 +0200)
- both username cache and log records are fully contained within their
  modules...

build/names.c
rpmio/rpmlog.c

index 14fdad4..26a352b 100644 (file)
@@ -10,7 +10,7 @@
 #include <rpm/rpmlog.h>
 #include "debug.h"
 
-typedef const char * ugstr_t;
+typedef char * ugstr_t;
 
 static uid_t uids[1024];
 static ugstr_t unames[1024];
index 450e57f..87ecdb1 100644 (file)
@@ -13,7 +13,7 @@ static rpmlogRec recs = NULL;
 struct rpmlogRec_s {
     int                code;           /* unused */
     rpmlogLvl  pri;            /* priority */ 
-    const char * message;      /* log message string */
+    char * message;            /* log message string */
 };
 
 int rpmlogGetNrecs(void)