summaryrefslogtreecommitdiff
path: root/plugins/Db3x
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x')
-rw-r--r--plugins/Db3x/commonheaders.h3
-rw-r--r--plugins/Db3x/init.cpp10
2 files changed, 2 insertions, 11 deletions
diff --git a/plugins/Db3x/commonheaders.h b/plugins/Db3x/commonheaders.h
index 4d31934ec9..a79ca1d357 100644
--- a/plugins/Db3x/commonheaders.h
+++ b/plugins/Db3x/commonheaders.h
@@ -56,7 +56,6 @@ extern struct DBHeader dbHeader;
extern HANDLE hCacheHeap;
extern SortedList lContacts;
extern char szDbPath[MAX_PATH];
-extern struct LIST_INTERFACE li;
#ifdef __GNUC__
#define mir_i64(x) (x##LL)
@@ -68,4 +67,4 @@ extern struct LIST_INTERFACE li;
#ifndef MODULAR
void Encrypt(char*msg,BOOL up);
-#endif \ No newline at end of file
+#endif
diff --git a/plugins/Db3x/init.cpp b/plugins/Db3x/init.cpp
index 99740b93d0..cb37f20e81 100644
--- a/plugins/Db3x/init.cpp
+++ b/plugins/Db3x/init.cpp
@@ -23,9 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "commonheaders.h"
-struct MM_INTERFACE mmi;
-struct LIST_INTERFACE li;
-struct UTF8_INTERFACE utfi;
int hLangpack;
HINSTANCE g_hInst=NULL;
@@ -121,9 +118,7 @@ static int grokHeader( char * profile, int * error )
static int LoadDatabase( char * profile, void * plink )
{
PLUGINLINK *link = (PLUGINLINK *)plink;
-#ifdef _DEBUG
- _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
-#endif
+
// don't need thread notifications
strncpy(szDbPath, profile, sizeof(szDbPath));
@@ -131,9 +126,6 @@ static int LoadDatabase( char * profile, void * plink )
pluginLink=link;
// set the memory, lists & UTF8 manager
- mir_getLI( &li );
- mir_getMMI( &mmi );
- mir_getUTFI( &utfi );
mir_getLP( &pluginInfo );
// inject all APIs and hooks into the core