Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5305c8e0
Commit
5305c8e0
authored
Nov 15, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Make the cs critical section static.
parent
9b3bd3f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
secur32.c
dlls/secur32/secur32.c
+7
-3
No files found.
dlls/secur32/secur32.c
View file @
5305c8e0
...
...
@@ -83,6 +83,13 @@ static void SECUR32_freeProviders(void);
*/
static
CRITICAL_SECTION
cs
;
static
CRITICAL_SECTION_DEBUG
cs_debug
=
{
0
,
0
,
&
cs
,
{
&
cs_debug
.
ProcessLocksList
,
&
cs_debug
.
ProcessLocksList
},
0
,
0
,
{
(
DWORD_PTR
)(
__FILE__
": cs"
)
}
};
static
CRITICAL_SECTION
cs
=
{
&
cs_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
SecurePackageTable
*
packageTable
=
NULL
;
static
SecureProviderTable
*
providerTable
=
NULL
;
...
...
@@ -553,8 +560,6 @@ static void SECUR32_initializeProviders(void)
LSTATUS
apiRet
;
TRACE
(
"
\n
"
);
InitializeCriticalSection
(
&
cs
);
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
/* First load built-in providers */
SECUR32_initSchannelSP
();
SECUR32_initNTLMSP
();
...
...
@@ -703,7 +708,6 @@ static void SECUR32_freeProviders(void)
}
LeaveCriticalSection
(
&
cs
);
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
cs
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment