Dmitry Timoshkov : wrc: Constify some data.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 30 06:20:19 CDT 2007


Module: wine
Branch: master
Commit: fcd6f662acd072af2b4cd0decfcbe4ba1ed2f0ce
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fcd6f662acd072af2b4cd0decfcbe4ba1ed2f0ce

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Thu Aug 30 17:18:02 2007 +0900

wrc: Constify some data.

---

 tools/wrc/wrc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index e91661c..828176c 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -174,9 +174,9 @@ int getopt (int argc, char *const *argv, const char *optstring);
 static void cleanup_files(void);
 static void segvhandler(int sig);
 
-static const char* short_options = 
+static const char short_options[] =
 	"D:Ef:F:hi:I:J:l:o:O:rU:v";
-static struct option long_options[] = {
+static const struct option long_options[] = {
 	{ "debug", 1, 0, 6 },
 	{ "define", 1, 0, 'D' },
 	{ "endianess", 1, 0, 7 },




More information about the wine-cvs mailing list