From 1c994d497641094015afb4abe112e81ddf3dce99 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 30 Aug 2007 17:18:13 +0900 Subject: [PATCH] wmc: Constify some data. --- tools/wmc/wmc.c | 4 ++-- tools/wmc/write.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/wmc/wmc.c b/tools/wmc/wmc.c index 29412194833..910a654b3c8 100644 --- a/tools/wmc/wmc.c +++ b/tools/wmc/wmc.c @@ -31,7 +31,7 @@ #include "lang.h" #include "write.h" -static char usage[] = +static const char usage[] = "Usage: wmc [options...] [inputfile.mc]\n" " -B x Set output byte-order x={n[ative], l[ittle], b[ig]}\n" " (default is n[ative] which equals " @@ -58,7 +58,7 @@ static char usage[] = "bytes read, which should be 0x0000..0x00ff.\n" ; -static char version_string[] = +static const char version_string[] = "Wine Message Compiler version " PACKAGE_VERSION "\n" "Copyright 2000 Bertho A. Stultiens\n" ; diff --git a/tools/wmc/write.c b/tools/wmc/write.c index 5a8cd717fe0..13b72634a21 100644 --- a/tools/wmc/write.c +++ b/tools/wmc/write.c @@ -87,7 +87,7 @@ * for normal character strings and 1 for unicode strings. */ -static char str_header[] = +static const char str_header[] = "/* This file is generated with wmc version " PACKAGE_VERSION ". Do not edit! */\n" "/* Source : %s */\n" "/* Cmdline: %s */\n" -- 2.11.4.GIT