Dmitry Timoshkov : winedump: Make some data const.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 28 06:05:31 CST 2006
Module: wine
Branch: master
Commit: 1297e859b3c1a233649dc43dae5437dc799c5719
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1297e859b3c1a233649dc43dae5437dc799c5719
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Tue Nov 28 18:38:22 2006 +0800
winedump: Make some data const.
---
tools/winedump/debug.c | 2 +-
tools/winedump/pe.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winedump/debug.c b/tools/winedump/debug.c
index eb3963b..3ada5eb 100644
--- a/tools/winedump/debug.c
+++ b/tools/winedump/debug.c
@@ -597,7 +597,7 @@ struct stab_nlist
unsigned long n_value;
};
-static const char* stabs_defs[] = {
+static const char * const stabs_defs[] = {
NULL,NULL,NULL,NULL, /* 00 */
NULL,NULL,NULL,NULL, /* 08 */
NULL,NULL,NULL,NULL, /* 10 */
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index d452525..d379534 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -830,7 +830,7 @@ void dump_separate_dbg(void)
static const char *get_resource_type( unsigned int id )
{
- static const char *types[] =
+ static const char * const types[] =
{
NULL,
"CURSOR",
More information about the wine-cvs
mailing list