Changed the placement of WINE_UNUSED to make gcc 2.7.2 happy.

This commit is contained in:
Francois Gouget 2000-04-14 14:06:49 +00:00 committed by Alexandre Julliard
parent b43b9d931b
commit aef6b47917
4 changed files with 6 additions and 6 deletions

View File

@ -670,7 +670,7 @@ HRESULT WINAPI IDirect3DDeviceImpl_GetDirect3D(
/******************************************************************************* /*******************************************************************************
* Direct3DDevice VTable * Direct3DDevice VTable
*/ */
static WINE_UNUSED ICOM_VTABLE(IDirect3DDevice) d3d_d3ddevice_vtbl = static ICOM_VTABLE(IDirect3DDevice) WINE_UNUSED d3d_d3ddevice_vtbl =
{ {
ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
IDirect3DDeviceImpl_QueryInterface, IDirect3DDeviceImpl_QueryInterface,

View File

@ -9,7 +9,7 @@
#include "winuser.h" #include "winuser.h"
#include "ddraw.h" #include "ddraw.h"
static WINE_UNUSED const char *ddProp = "WINE_DDRAW_Property"; static const char WINE_UNUSED *ddProp = "WINE_DDRAW_Property";
/**************************************************************************** /****************************************************************************
* This is the main DirectDraw driver interface. It is supposed to be called * This is the main DirectDraw driver interface. It is supposed to be called

View File

@ -135,7 +135,7 @@ HRESULT WINAPI IDirect3DImpl_FindDevice(
/* This is for checking the correctness of the prototypes/functions. /* This is for checking the correctness of the prototypes/functions.
* Do not remove. * Do not remove.
*/ */
static WINE_UNUSED ICOM_VTABLE(IDirect3D) d3dvt = { static ICOM_VTABLE(IDirect3D) WINE_UNUSED d3dvt = {
ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
IDirect3DImpl_QueryInterface, IDirect3DImpl_QueryInterface,
IDirect3DImpl_AddRef, IDirect3DImpl_AddRef,
@ -265,7 +265,7 @@ HRESULT WINAPI IDirect3D2Impl_CreateDevice(
/* This is for checking the correctness of the prototypes/functions. /* This is for checking the correctness of the prototypes/functions.
* Do not remove. * Do not remove.
*/ */
static WINE_UNUSED ICOM_VTABLE(IDirect3D2) d3d2vt = static ICOM_VTABLE(IDirect3D2) WINE_UNUSED d3d2vt =
{ {
ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
IDirect3D2Impl_QueryInterface, IDirect3D2Impl_QueryInterface,

View File

@ -140,14 +140,14 @@ extern int is_OpenGL(REFCLSID rguid, IDirectDrawSurfaceImpl* surface, IDirect3DD
extern LPDIRECT3DTEXTURE2 mesa_d3dtexture2_create(IDirectDrawSurface4Impl*); extern LPDIRECT3DTEXTURE2 mesa_d3dtexture2_create(IDirectDrawSurface4Impl*);
extern LPDIRECT3DTEXTURE mesa_d3dtexture_create(IDirectDrawSurface4Impl*); extern LPDIRECT3DTEXTURE mesa_d3dtexture_create(IDirectDrawSurface4Impl*);
static const WINE_UNUSED GUID IID_D3DDEVICE2_OpenGL = { static const GUID WINE_UNUSED IID_D3DDEVICE2_OpenGL = {
0x39a0da38, 0x39a0da38,
0x7e57, 0x7e57,
0x11d2, 0x11d2,
{ 0x8b,0x7c,0x0e,0x4e,0xd8,0x3c,0x2b,0x3c } { 0x8b,0x7c,0x0e,0x4e,0xd8,0x3c,0x2b,0x3c }
}; };
static const WINE_UNUSED GUID IID_D3DDEVICE_OpenGL = { static const GUID WINE_UNUSED IID_D3DDEVICE_OpenGL = {
0x31416d44, 0x31416d44,
0x86ae, 0x86ae,
0x11d2, 0x11d2,