From 1297e859b3c1a233649dc43dae5437dc799c5719 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 28 Nov 2006 18:38:22 +0800 Subject: [PATCH] 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 eb3963b0c78..3ada5eb4be9 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 d4525253670..d37953459e7 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",