changeset 32049:6506ce7ba414

Move fs_seg extern variable declaration to ldt_keeper.h, where it belongs.
author diego
date Fri, 10 Sep 2010 15:38:03 +0000
parents bdfbf727c11d
children 45474d63d118
files loader/ldt_keeper.h loader/win32.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/ldt_keeper.h	Fri Sep 10 14:03:07 2010 +0000
+++ b/loader/ldt_keeper.h	Fri Sep 10 15:38:03 2010 +0000
@@ -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;
--- a/loader/win32.c	Fri Sep 10 14:03:07 2010 +0000
+++ b/loader/win32.c	Fri Sep 10 15:38:03 2010 +0000
@@ -49,6 +49,7 @@
 #include "loader.h"
 #include "com.h"
 #include "ext.h"
+#include "ldt_keeper.h"
 #include "path.h"
 
 #include <stdlib.h>
@@ -1511,8 +1512,6 @@
 // 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)