summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-06 20:17:20 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-06 20:17:20 +0200
commit82a6fac62cf4dbc9f131d80271fab01cc55fd700 (patch)
tree1947ab36c1993c95fc3608a6150e0a73e641e9f7 /build/parsePrep.c
parent16686e9663d9538abb720db955e559f2b35da7b1 (diff)
downloadlibrpm-tizen-82a6fac62cf4dbc9f131d80271fab01cc55fd700.tar.gz
librpm-tizen-82a6fac62cf4dbc9f131d80271fab01cc55fd700.tar.bz2
librpm-tizen-82a6fac62cf4dbc9f131d80271fab01cc55fd700.zip
Mark bunch of static build-related tables as read-only
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 1b0963136..759a89008 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -418,9 +418,9 @@ static int doSetupMacro(rpmSpec spec, const char *line)
/* XXX FIXME: owner & group fixes were conditioned on !geteuid() */
/* Fix the owner, group, and permissions of the setup build tree */
- { static const char *fixmacs[] =
+ { static const char * const fixmacs[] =
{ "%{_fixowner}", "%{_fixgroup}", "%{_fixperms}", NULL };
- const char ** fm;
+ const char * const * fm;
for (fm = fixmacs; *fm; fm++) {
char * fix = rpmExpand(*fm, " .", NULL);