diff options
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r-- | plugins/SecureIM/commonheaders.h | 2 | ||||
-rw-r--r-- | plugins/SecureIM/main.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SecureIM/commonheaders.h b/plugins/SecureIM/commonheaders.h index 28d2c19354..c654b9e2b6 100644 --- a/plugins/SecureIM/commonheaders.h +++ b/plugins/SecureIM/commonheaders.h @@ -143,7 +143,7 @@ extern MUUID interfaces[]; extern "C" {
- DLLEXPORT int Load(PLUGINLINK *);
+ DLLEXPORT int Load(void);
DLLEXPORT PLUGININFOEX *MirandaPluginInfoEx(DWORD);
DLLEXPORT MUUID* MirandaPluginInterfaces(void);
DLLEXPORT int Unload();
diff --git a/plugins/SecureIM/main.cpp b/plugins/SecureIM/main.cpp index 461d903bd0..7fe9483c11 100644 --- a/plugins/SecureIM/main.cpp +++ b/plugins/SecureIM/main.cpp @@ -1,6 +1,6 @@ #include "commonheaders.h"
-PLUGINLINK *pluginLink;
+
int hLangpack = 0;
extern "C" BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID) {
@@ -79,9 +79,9 @@ HANDLE AddSubItem(HANDLE rootid,LPCSTR name,int pos,int poppos,LPCSTR service,WP }
-int __cdecl Load(PLUGINLINK *link) {
+int __cdecl Load(void) {
+
- pluginLink = link;
DisableThreadLibraryCalls(g_hInst);
InitializeCriticalSection(&localQueueMutex);
|