winedump: Make some data const
Dmitry Timoshkov
dmitry at codeweavers.com
Tue Nov 28 04:38:22 CST 2006
Hello,
Changelog:
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",
--
1.4.2
More information about the wine-patches
mailing list