summaryrefslogtreecommitdiff
path: root/protocols/Yahoo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
commit81e8caf42867b65677efe2bffaa52ecff7303c3a (patch)
tree846f06ef51787c58205cd87546976bda29556680 /protocols/Yahoo
parentd9da7f147fbe91d2e70721de96907ae1d273b591 (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 'protocols/Yahoo')
-rw-r--r--protocols/Yahoo/main.cpp10
-rw-r--r--protocols/Yahoo/yahoo.h5
2 files changed, 2 insertions, 13 deletions
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