[PATCH] openal32: Mark internal variable as static

Marcus Meissner meissner at suse.de
Fri May 13 10:46:35 CDT 2011


---
 dlls/openal32/openal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c
index b2bb2da..15206f3 100644
--- a/dlls/openal32/openal.c
+++ b/dlls/openal32/openal.c
@@ -87,7 +87,7 @@ struct FuncList {
 static const struct FuncList ALCFuncs[];
 static const struct FuncList ALFuncs[];
 
-CRITICAL_SECTION openal_cs;
+static CRITICAL_SECTION openal_cs;
 static CRITICAL_SECTION_DEBUG openal_cs_debug =
 {
     0, 0, &openal_cs,
@@ -95,7 +95,7 @@ static CRITICAL_SECTION_DEBUG openal_cs_debug =
     &openal_cs_debug.ProcessLocksList},
     0, 0, {(DWORD_PTR)(__FILE__ ": openal_cs")}
 };
-CRITICAL_SECTION openal_cs = {&openal_cs_debug, -1, 0, 0, 0, 0};
+static CRITICAL_SECTION openal_cs = {&openal_cs_debug, -1, 0, 0, 0, 0};
 
 /***********************************************************************
  *           OpenAL initialisation routine
-- 
1.7.1



More information about the wine-patches mailing list