msvcp90/tests: remove thiscall_thunk_retptr struct definitions

Austin English austinenglish at gmail.com
Wed Mar 20 22:24:13 CDT 2013


It's defined but not used in ios.c and misc.c. The multiple
definitions break compilation with TinyCC.

If this should be two patches instead, please let me know. It passes
WTB/make test, and it's only two lines, so I left it as one patch..
-- 
-Austin
-------------- next part --------------
diff --git a/dlls/msvcp90/tests/ios.c b/dlls/msvcp90/tests/ios.c
index 0ae34d3..9c78318 100644
--- a/dlls/msvcp90/tests/ios.c
+++ b/dlls/msvcp90/tests/ios.c
@@ -544,8 +544,6 @@ static void * (WINAPI *call_thiscall_func5)( void *func, void *this, const void
 static void * (WINAPI *call_thiscall_func2_ptr_dbl)( void *func, void *this, double a );
 static void * (WINAPI *call_thiscall_func2_ptr_fpos)( void *func, void *this, fpos_int a );
 
-struct thiscall_thunk_retptr *thunk_retptr;
-
 static void init_thiscall_thunk(void)
 {
     struct thiscall_thunk *thunk = VirtualAlloc( NULL, sizeof(*thunk),
diff --git a/dlls/msvcp90/tests/misc.c b/dlls/msvcp90/tests/misc.c
index dc099d3..f8eee4e 100644
--- a/dlls/msvcp90/tests/misc.c
+++ b/dlls/msvcp90/tests/misc.c
@@ -149,7 +149,6 @@ static void * (WINAPI *call_thiscall_func2)( void *func, void *this, const void
 static void * (WINAPI *call_thiscall_func3)( void *func, void *this, const void *a, const void *b );
 static void * (WINAPI *call_thiscall_func5)( void *func, void *this, const void *a, const void *b,
         const void *c, const void *d );
-struct thiscall_thunk_retptr *thunk_retptr;
 
 static void init_thiscall_thunk(void)
 {


More information about the wine-patches mailing list