dbghelp: Make some data const

Dmitry Timoshkov dmitry at codeweavers.com
Thu Dec 14 08:46:48 CST 2006


Hello,

Changelog:
    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++)
-- 
1.4.4.2






More information about the wine-patches mailing list