From 4a72c2a3f6b3fd712e8e1733be6761c89ec4e25c Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sun, 16 Dec 2007 21:21:31 +0200 Subject: [PATCH] More const removals - both username cache and log records are fully contained within their modules... --- build/names.c | 2 +- rpmio/rpmlog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/names.c b/build/names.c index 14fdad4..26a352b 100644 --- a/build/names.c +++ b/build/names.c @@ -10,7 +10,7 @@ #include #include "debug.h" -typedef const char * ugstr_t; +typedef char * ugstr_t; static uid_t uids[1024]; static ugstr_t unames[1024]; diff --git a/rpmio/rpmlog.c b/rpmio/rpmlog.c index 450e57f..87ecdb1 100644 --- a/rpmio/rpmlog.c +++ b/rpmio/rpmlog.c @@ -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) -- 2.7.4