summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-26 18:11:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-26 18:11:20 +0000
commitce67ce69028c730e1058757504074ffa58294122 (patch)
tree7a888cf70d816b7eb22ce39b219043f8a2f19e54 /plugins/Db3x_mmap
parent0ae0d8793303452256f70946428a7f51466a60af (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@7911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp14
-rw-r--r--plugins/Db3x_mmap/src/dbintfm.cpp14
2 files changed, 14 insertions, 14 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index a6b579fc0d..07634ae46d 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -190,20 +190,6 @@ static CheckWorker Workers[6] =
&CDb3Base::WorkFinalTasks
};
-int CDb3Mmap::PrepareCheck()
-{
- int ret = CheckDbHeaders();
- if (ret != ERROR_SUCCESS)
- return ret;
-
- InitCache();
- InitModuleNames();
- if ((ret = InitCrypt()) != ERROR_SUCCESS)
- return ret;
-
- return ERROR_SUCCESS;
-}
-
int CDb3Base::Start(DBCHeckCallback *callback)
{
cb = callback;
diff --git a/plugins/Db3x_mmap/src/dbintfm.cpp b/plugins/Db3x_mmap/src/dbintfm.cpp
index d917ef300d..83d113e70c 100644
--- a/plugins/Db3x_mmap/src/dbintfm.cpp
+++ b/plugins/Db3x_mmap/src/dbintfm.cpp
@@ -44,3 +44,17 @@ int CDb3Mmap::Load(bool bSkipInit)
return res;
}
+
+int CDb3Mmap::PrepareCheck()
+{
+ int ret = CheckDbHeaders();
+ if (ret != ERROR_SUCCESS)
+ return ret;
+
+ InitCache();
+ InitModuleNames();
+ if ((ret = InitCrypt()) != ERROR_SUCCESS)
+ return ret;
+
+ return ERROR_SUCCESS;
+}