diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-10-28 22:00:39 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-11-10 08:11:59 +0100 |
| commit | 0e2ac2de24b2d64924826a693630d8d555beae3a (patch) | |
| tree | 3b59bfd4d0e911037eab171d4827abba603ac609 /src/install.c | |
| parent | use xfreopen in place of unchecked freopen (diff) | |
| download | coreutils-0e2ac2de24b2d64924826a693630d8d555beae3a.tar.gz coreutils-0e2ac2de24b2d64924826a693630d8d555beae3a.zip | |
avoid a compiler warning
(strip_program): Declare to be const.
Diffstat (limited to 'src/install.c')
| -rw-r--r-- | src/install.c | 2 |
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. */ |
