[MPlayer-cvslog] r32161 - in trunk/loader: elfdll.c loader.h

diego subversion at mplayerhq.hu
Sat Sep 11 16:56:53 CEST 2010


Author: diego
Date: Sat Sep 11 16:56:52 2010
New Revision: 32161

Log:
Move local_wm extern variable declaration to loader.h, which is better suited.

Modified:
   trunk/loader/elfdll.c
   trunk/loader/loader.h

Modified: trunk/loader/elfdll.c
==============================================================================
--- trunk/loader/elfdll.c	Sat Sep 11 16:43:06 2010	(r32160)
+++ trunk/loader/elfdll.c	Sat Sep 11 16:56:52 2010	(r32161)
@@ -18,6 +18,7 @@
 #include "wine/debugtools.h"
 #include "wine/winerror.h"
 #include "debug.h"
+#include "loader.h"
 #include "path.h"
 
 //DEFAULT_DEBUG_CHANNEL(elfdll)
@@ -29,10 +30,6 @@
 #include <dlfcn.h>
 
 
-//WINE_MODREF *local_wm=NULL;
-extern modref_list* local_wm;
-
-
 /*------------------ HACKS -----------------*/
 DWORD fixup_imports(WINE_MODREF *wm);
 void dump_exports(HMODULE hModule);

Modified: trunk/loader/loader.h
==============================================================================
--- trunk/loader/loader.h	Sat Sep 11 16:43:06 2010	(r32160)
+++ trunk/loader/loader.h	Sat Sep 11 16:56:52 2010	(r32161)
@@ -19,6 +19,10 @@
 #include "wine/mmreg.h"
 #include "wine/vfw.h"
 #include "wine/msacm.h"
+#include "wine/module.h"
+
+
+extern modref_list* local_wm;
 
 unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, int default_value, const char* filename);
 int GetPrivateProfileStringA_(const char* appname, const char* keyname,


More information about the MPlayer-cvslog mailing list