From: Alan Cox Date: Fri, 17 Jun 2016 22:32:06 +0000 (+0100) Subject: cut: fix warning X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fa5c380e2aaa34379e6369503d299b0c4e676e4b;p=FUZIX.git cut: fix warning --- diff --git a/Applications/util/cut.c b/Applications/util/cut.c index 5cc0930e..6e501b33 100644 --- a/Applications/util/cut.c +++ b/Applications/util/cut.c @@ -73,7 +73,7 @@ int exit_status; void warn(int warn_number, char *option) { - static char *warn_msg[] = + static const char *warn_msg[] = { "%s: Option -d allowed only with -f\n", "%s: -%s overrides earlier option\n", @@ -88,7 +88,7 @@ void warn(int warn_number, char *option) void cuterror(int err) { - static char *err_mes[] = + static const char *err_mes[] = { "%s: syntax error\n", "%s: position must be >0\n",