diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
commit | 81e8caf42867b65677efe2bffaa52ecff7303c3a (patch) | |
tree | 846f06ef51787c58205cd87546976bda29556680 /plugins/CryptoPP | |
parent | d9da7f147fbe91d2e70721de96907ae1d273b591 (diff) |
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP')
-rw-r--r-- | plugins/CryptoPP/commonheaders.cpp | 1 | ||||
-rw-r--r-- | plugins/CryptoPP/commonheaders.h | 1 | ||||
-rw-r--r-- | plugins/CryptoPP/main.cpp | 8 |
3 files changed, 4 insertions, 6 deletions
diff --git a/plugins/CryptoPP/commonheaders.cpp b/plugins/CryptoPP/commonheaders.cpp index df04c81dfd..b1d055eb59 100644 --- a/plugins/CryptoPP/commonheaders.cpp +++ b/plugins/CryptoPP/commonheaders.cpp @@ -3,7 +3,6 @@ LPCSTR szModuleName = MODULENAME;
LPCSTR szVersionStr = MODULENAME" DLL ("__VERSION_STRING")";
HINSTANCE g_hInst;
-PLUGINLINK *pluginLink;
MUUID interfaces[] = {MIID_CRYPTOPP, MIID_LAST};
HANDLE hPGPPRIV = NULL;
diff --git a/plugins/CryptoPP/commonheaders.h b/plugins/CryptoPP/commonheaders.h index 0bcc553f64..e64825e1d4 100644 --- a/plugins/CryptoPP/commonheaders.h +++ b/plugins/CryptoPP/commonheaders.h @@ -99,7 +99,6 @@ extern BOOL isVista; // shared vars
extern HINSTANCE g_hInst;
-extern PLUGINLINK *pluginLink;
extern PLUGININFOEX pluginInfoEx;
extern MUUID interfaces[];
diff --git a/plugins/CryptoPP/main.cpp b/plugins/CryptoPP/main.cpp index 8ef6c310f5..b3adb93153 100644 --- a/plugins/CryptoPP/main.cpp +++ b/plugins/CryptoPP/main.cpp @@ -51,9 +51,8 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) { }
-int Load(PLUGINLINK *link) {
-
- pluginLink = link;
+int Load(PLUGINLINK *link)
+{
DisableThreadLibraryCalls(g_hInst);
// get memoryManagerInterface address
@@ -73,7 +72,8 @@ int Load(PLUGINLINK *link) { }
-int Unload() {
+int Unload()
+{
return 0;
}
|