Dmitry Timoshkov : dbghelp: Make some data const.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Dec 14 14:23:48 CST 2006
Module: wine
Branch: master
Commit: e7d620081f6020b3495b2a92477c12f62464403b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e7d620081f6020b3495b2a92477c12f62464403b
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Thu Dec 14 22:46:48 2006 +0800
dbghelp: Make some data const.
---
dlls/dbghelp/module.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c
index a58ee6f..ce1cc07 100644
--- a/dlls/dbghelp/module.c
+++ b/dlls/dbghelp/module.c
@@ -34,11 +34,11 @@
WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
-static const char* ext[] = {".acm", ".dll", ".drv", ".exe", ".ocx", ".vxd", NULL};
+static const char * const ext[] = {".acm", ".dll", ".drv", ".exe", ".ocx", ".vxd", NULL};
static int match_ext(const char* ptr, size_t len)
{
- const char**e;
+ const char * const *e;
size_t l;
for (e = ext; *e; e++)
More information about the wine-cvs
mailing list