summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/PackUpdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PackUpdater/Src/PackUpdater.cpp')
-rw-r--r--plugins/PackUpdater/Src/PackUpdater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PackUpdater/Src/PackUpdater.cpp b/plugins/PackUpdater/Src/PackUpdater.cpp
index a9e1cf9347..cdae7910ce 100644
--- a/plugins/PackUpdater/Src/PackUpdater.cpp
+++ b/plugins/PackUpdater/Src/PackUpdater.cpp
@@ -46,7 +46,7 @@ CMPlugin::CMPlugin() :
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load(void)
+int CMPlugin::Load()
{
wchar_t *tszFolder = Utils_ReplaceVarsW(L"%miranda_userdata%\\" DEFAULT_UPDATES_FOLDER);
mir_wstrncpy(tszRoot, tszFolder, _countof(tszRoot));
@@ -94,7 +94,7 @@ extern "C" __declspec(dllexport) int Load(void)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Unload(void)
+int CMPlugin::Unload()
{
if (hCheckThread)
hCheckThread = nullptr;