From 81e8caf42867b65677efe2bffaa52ecff7303c3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 13:58:25 +0000 Subject: no more pluginLink in load() git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/main.cpp | 10 ++-------- protocols/Yahoo/yahoo.h | 5 ----- 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'protocols/Yahoo') diff --git a/protocols/Yahoo/main.cpp b/protocols/Yahoo/main.cpp index 222c4d6723..d9b7278102 100644 --- a/protocols/Yahoo/main.cpp +++ b/protocols/Yahoo/main.cpp @@ -21,7 +21,6 @@ * Global Variables */ HINSTANCE hInstance; -PLUGINLINK* pluginLink; HANDLE g_hNetlibUser; @@ -66,7 +65,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinst,DWORD /*fdwReason*/,LPVOID /*lpvR //===================================================== // Name : Load -// Parameters: PLUGINLINK *link +// Parameters: // Returns : int // Description : Called when plugin is loaded into Miranda //===================================================== @@ -95,13 +94,8 @@ static int yahooProtoUninit( CYahooProto* ppro ) return 0; } -extern "C" int __declspec(dllexport)Load(PLUGINLINK *link) +extern "C" int __declspec(dllexport)Load(void) { - pluginLink = link; - - /** - * Grab the interface handles (through pluginLink) - */ mir_getLP( &pluginInfo ); PROTOCOLDESCRIPTOR pd = { 0 }; diff --git a/protocols/Yahoo/yahoo.h b/protocols/Yahoo/yahoo.h index 552f40cc46..efe3b9cf2f 100644 --- a/protocols/Yahoo/yahoo.h +++ b/protocols/Yahoo/yahoo.h @@ -15,11 +15,6 @@ #define MIRANDA_VER 0x0A00 -extern "C" -{ - extern struct tagPLUGINLINK* pluginLink; -}; - #ifdef _MSC_VER #define snprintf _snprintf #endif -- cgit v1.2.3