wrc: Constify some data

Dmitry Timoshkov dmitry at codeweavers.com
Thu Aug 30 03:18:02 CDT 2007


Hello,

Changelog:
    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..d2697c5 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 },
-- 
1.5.2.5






More information about the wine-patches mailing list