From: Jim Meyering Date: Tue, 28 Oct 2008 21:00:39 +0000 (+0100) Subject: avoid a compiler warning X-Git-Tag: v7.1~144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e2ac2de24b2d64924826a693630d8d555beae3a;p=platform%2Fupstream%2Fcoreutils.git avoid a compiler warning (strip_program): Declare to be const. --- diff --git a/src/install.c b/src/install.c index 430e69a..9dda05a 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. */