From 2f0617376dcb4be5b837c5f888762e4e1ef3aceb Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 30 Apr 2015 06:07:51 +0000 Subject: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/tokenregister.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Variables/src/tokenregister.cpp') diff --git a/plugins/Variables/src/tokenregister.cpp b/plugins/Variables/src/tokenregister.cpp index f4865e84e5..a4722f82d2 100644 --- a/plugins/Variables/src/tokenregister.cpp +++ b/plugins/Variables/src/tokenregister.cpp @@ -35,7 +35,7 @@ static int CompareTokens(const TokenRegisterEntry* p1, const TokenRegisterEntry* static LIST tokens(100, CompareTokens); -static CRITICAL_SECTION csRegister; +static mir_cs csRegister; unsigned long int hashlittle(void *key, size_t length, unsigned long int initval); @@ -235,7 +235,6 @@ int getTokenRegisterCount() int initTokenRegister() { - InitializeCriticalSection(&csRegister); return 0; } @@ -259,6 +258,5 @@ int deinitTokenRegister() } tokens.destroy(); - DeleteCriticalSection(&csRegister); return 0; } -- cgit v1.2.3