summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/dbconfig.c2
-rw-r--r--rpmdb/rpmdb.h2
-rw-r--r--rpmdb/tagname.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/rpmdb/dbconfig.c b/rpmdb/dbconfig.c
index 0f2229cc8..3d525ffb5 100644
--- a/rpmdb/dbconfig.c
+++ b/rpmdb/dbconfig.c
@@ -458,7 +458,7 @@ dbiIndex db3New(rpmdb rpmdb, rpmTag rpmtag)
/*@=bounds@*/
/*@-boundswrite@*/
-const char *const prDbiOpenFlags(int dbflags, int print_dbenv_flags)
+const char * prDbiOpenFlags(int dbflags, int print_dbenv_flags)
{
static char buf[256];
struct poptOption *opt;
diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h
index d62b63770..2890c0364 100644
--- a/rpmdb/rpmdb.h
+++ b/rpmdb/rpmdb.h
@@ -482,7 +482,7 @@ dbiIndex db3Free( /*@only@*/ /*@null@*/ dbiIndex dbi)
*/
/*@-redecl@*/
/*@exposed@*/
-extern const char *const prDbiOpenFlags(int dbflags, int print_dbenv_flags)
+extern const char * prDbiOpenFlags(int dbflags, int print_dbenv_flags)
/*@*/;
/*@=redecl@*/
diff --git a/rpmdb/tagname.c b/rpmdb/tagname.c
index 042b89055..2b6fbe6b5 100644
--- a/rpmdb/tagname.c
+++ b/rpmdb/tagname.c
@@ -32,7 +32,7 @@ int tagType(int tag)
return tagtype;
}
-const char *const tagName(int tag)
+const char * tagName(int tag)
{
static char nameBuf[128]; /* XXX yuk */
char *s;