projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03911ef
)
avoid a compiler warning
author
Jim Meyering
<meyering@redhat.com>
Tue, 28 Oct 2008 21:00:39 +0000
(22:00 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Mon, 10 Nov 2008 07:11:59 +0000
(08:11 +0100)
(strip_program): Declare to be const.
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index
430e69a
..
9dda05a
100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-132,7
+132,7
@@
static bool strip_files;
static bool dir_arg;
/* Program used to strip binaries, "strip" is default */
-static char *strip_program = "strip";
+static char
const
*strip_program = "strip";
/* For long options that have no equivalent short option, use a
non-character as a pseudo short option, starting with CHAR_MAX + 1. */