Alexandre Julliard : riched20/tests: Move the itextServicesStdcallVtbl definition to avoid a compiler warning.

Alexandre Julliard julliard at winehq.org
Sun Jan 4 09:09:09 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Jan  4 14:12:50 2009 +0100

riched20/tests: Move the itextServicesStdcallVtbl definition to avoid a compiler warning.

---

 dlls/riched20/tests/txtsrv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/tests/txtsrv.c b/dlls/riched20/tests/txtsrv.c
index a8cb169..3732377 100644
--- a/dlls/riched20/tests/txtsrv.c
+++ b/dlls/riched20/tests/txtsrv.c
@@ -39,6 +39,7 @@ static HMODULE hmoduleRichEdit;
 /* Use a special table for x86 machines to convert the thiscall
  * calling convention.  This isn't needed on other platforms. */
 #ifdef __i386__
+static ITextServicesVtbl itextServicesStdcallVtbl;
 #define TXTSERV_VTABLE(This) (&itextServicesStdcallVtbl)
 #else /* __i386__ */
 #define TXTSERV_VTABLE(This) (This)->lpVtbl
@@ -441,8 +442,6 @@ static HRESULT WINAPI ITextHostImpl_TxGetSelectionBarWidth(ITextHost *iface,
     return E_NOTIMPL;
 }
 
-static ITextServicesVtbl itextServicesStdcallVtbl;
-
 static ITextHostVtbl itextHostVtbl = {
     ITextHostImpl_QueryInterface,
     ITextHostImpl_AddRef,




More information about the wine-cvs mailing list