diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index a99ea62eeb5..c14d1b0cfb2 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -76,6 +76,15 @@ static BOOL CALLBACK cbRemoveGroupOrPlayer( DPID dpId, DWORD dwPlayerType, LPVOID lpContext ); static void DP_DeleteGroup( IDirectPlay2Impl* This, DPID dpid ); +/* Forward declarations of virtual tables */ +static ICOM_VTABLE(IDirectPlay2) directPlay2AVT; +static ICOM_VTABLE(IDirectPlay3) directPlay3AVT; +static ICOM_VTABLE(IDirectPlay4) directPlay4AVT; + +static ICOM_VTABLE(IDirectPlay2) directPlay2WVT; +static ICOM_VTABLE(IDirectPlay3) directPlay3WVT; +static ICOM_VTABLE(IDirectPlay4) directPlay4WVT; + /* Helper methods for player/group interfaces */ static HRESULT WINAPI DP_IF_DeletePlayerFromGroup ( IDirectPlay2Impl* This, LPVOID lpMsgHdr, DPID idGroup, diff --git a/dlls/dplayx/dplay_global.h b/dlls/dplayx/dplay_global.h index 3f4b36f0f1a..f00941809f0 100644 --- a/dlls/dplayx/dplay_global.h +++ b/dlls/dplayx/dplay_global.h @@ -231,16 +231,6 @@ struct IDirectPlay4Impl DP_IMPL_FIELDS }; -/* Forward declarations of virtual tables */ -extern ICOM_VTABLE(IDirectPlay2) directPlay2AVT; -extern ICOM_VTABLE(IDirectPlay3) directPlay3AVT; -extern ICOM_VTABLE(IDirectPlay4) directPlay4AVT; - -extern ICOM_VTABLE(IDirectPlay2) directPlay2WVT; -extern ICOM_VTABLE(IDirectPlay3) directPlay3WVT; -extern ICOM_VTABLE(IDirectPlay4) directPlay4WVT; - - HRESULT DP_HandleMessage( IDirectPlay2Impl* This, LPCVOID lpMessageBody, DWORD dwMessageBodySize, LPCVOID lpMessageHeader, WORD wCommandId, WORD wVersion,