summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-28 22:00:39 +0100
committerJim Meyering <meyering@redhat.com>2008-11-10 08:11:59 +0100
commit0e2ac2de24b2d64924826a693630d8d555beae3a (patch)
tree3b59bfd4d0e911037eab171d4827abba603ac609 /src/install.c
parent03911ef780eae7d060963bf01ccaf594779b9420 (diff)
downloadcoreutils-0e2ac2de24b2d64924826a693630d8d555beae3a.tar.xz
avoid a compiler warning
(strip_program): Declare to be const.
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c
index 430e69ab9..9dda05ade 100644
--- 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. */