Alexandre Julliard : include: Avoid direct access to wine_ldt_copy outside of kernel.

Alexandre Julliard julliard at winehq.org
Mon Sep 28 11:54:34 CDT 2009


Module: wine
Branch: master
Commit: e340a2ffacbcac542189b2aa713cac969f7623a7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e340a2ffacbcac542189b2aa713cac969f7623a7

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Sep 26 13:52:52 2009 +0200

include: Avoid direct access to wine_ldt_copy outside of kernel.

---

 include/wine/winbase16.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/include/wine/winbase16.h b/include/wine/winbase16.h
index 680bb69..0e41cba 100644
--- a/include/wine/winbase16.h
+++ b/include/wine/winbase16.h
@@ -522,10 +522,4 @@ BOOL16      WINAPI WritePrivateProfileSection16(LPCSTR,LPCSTR,LPCSTR);
 BOOL16      WINAPI WritePrivateProfileStruct16(LPCSTR,LPCSTR,LPVOID,UINT16,LPCSTR);
 BOOL16      WINAPI WriteProfileSection16(LPCSTR,LPCSTR);
 
-/* Some optimizations */
-extern inline LPVOID WINAPI MapSL( SEGPTR segptr )
-{
-    return (char *)wine_ldt_copy.base[SELECTOROF(segptr) >> __AHSHIFT] + OFFSETOF(segptr);
-}
-
 #endif /* __WINE_WINE_WINBASE16_H */




More information about the wine-cvs mailing list