[MPlayer-cvslog] r32133 - in trunk/loader: ldt_keeper.h win32.c

diego subversion at mplayerhq.hu
Fri Sep 10 17:38:04 CEST 2010


Author: diego
Date: Fri Sep 10 17:38:03 2010
New Revision: 32133

Log:
Move fs_seg extern variable declaration to ldt_keeper.h, where it belongs.

Modified:
   trunk/loader/ldt_keeper.h
   trunk/loader/win32.c

Modified: trunk/loader/ldt_keeper.h
==============================================================================
--- trunk/loader/ldt_keeper.h	Fri Sep 10 16:03:07 2010	(r32132)
+++ trunk/loader/ldt_keeper.h	Fri Sep 10 17:38:03 2010	(r32133)
@@ -1,6 +1,8 @@
 #ifndef MPLAYER_LDT_KEEPER_H
 #define MPLAYER_LDT_KEEPER_H
 
+extern void *fs_seg;
+
 typedef struct {
   void* fs_seg;
   char* prev_struct;

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	Fri Sep 10 16:03:07 2010	(r32132)
+++ trunk/loader/win32.c	Fri Sep 10 17:38:03 2010	(r32133)
@@ -49,6 +49,7 @@ for DLL to know too much about its envir
 #include "loader.h"
 #include "com.h"
 #include "ext.h"
+#include "ldt_keeper.h"
 #include "path.h"
 
 #include <stdlib.h>
@@ -1511,8 +1512,6 @@ static int WINAPI expGetCurrentProcess(v
 // this version is required for Quicktime codecs (.qtx/.qts) to work.
 // (they assume some pointers at FS: segment)
 
-extern void* fs_seg;
-
 //static int tls_count;
 static int tls_use_map[64];
 static int WINAPI expTlsAlloc(void)


More information about the MPlayer-cvslog mailing list