Marcus Meissner : openal32: Mark internal variable as static.

Alexandre Julliard julliard at winehq.org
Tue May 24 12:53:44 CDT 2011


Module: wine
Branch: master
Commit: 7b2c6476691890922d11584840aae2c405fea172
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b2c6476691890922d11584840aae2c405fea172

Author: Marcus Meissner <meissner at suse.de>
Date:   Fri May 13 17:46:35 2011 +0200

openal32: Mark internal variable as static.

---

 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




More information about the wine-cvs mailing list