summaryrefslogtreecommitdiff
path: root/build/files.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 15:17:59 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 15:17:59 +0200
commit8d66d5fe4a9d7b7b015153edb8f204ac3b89c461 (patch)
treeda32cd205771d4bc9ac3ead3797a3e0522a4b512 /build/files.c
parent7d817f06b14c221bf0fbf74610e4d85093e77fcc (diff)
downloadlibrpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.tar.gz
librpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.tar.bz2
librpm-tizen-8d66d5fe4a9d7b7b015153edb8f204ac3b89c461.zip
Bunch of const char* corrections
- functions returning string constants as char * etc...
Diffstat (limited to 'build/files.c')
-rw-r--r--build/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index dc428a325..290503e17 100644
--- a/build/files.c
+++ b/build/files.c
@@ -920,7 +920,7 @@ static rpmRC parseForSimple(rpmSpec spec, Package pkg, char * buf,
} else {
/* XXX WATCHOUT: buf is an arg */
{
- static char *_docdir_fmt= 0;
+ static const char *_docdir_fmt = NULL;
static int oneshot = 0;
const char *ddir, *fmt, *errstr;
if (!oneshot) {