diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-16 18:28:49 +0000 |
commit | f7e482e4333df76b198b16c7685c2304007fbe79 (patch) | |
tree | dbc5bbd793cba9d4a7ce9c7440664318c53a0d02 /protocols/Weather | |
parent | 5b0a53a6d3f1b8d70b34631d96d3815d0a334dd3 (diff) |
dynamic dll checker
git-svn-id: http://svn.miranda-ng.org/main/trunk@989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather')
-rw-r--r-- | protocols/Weather/weather.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/protocols/Weather/weather.cpp b/protocols/Weather/weather.cpp index d0527b794e..9c6f762683 100644 --- a/protocols/Weather/weather.cpp +++ b/protocols/Weather/weather.cpp @@ -81,12 +81,8 @@ extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD m return &pluginInfoEx;
}
-// MirandaPluginInterfaces - returns the protocol interface to the core
-static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
+// MirandaInterfaces - returns the protocol interface to the core
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
|