dplayx: Remove unneeded "extern" from function definitions.
This commit is contained in:
parent
c58e59f40f
commit
fed3a4aebe
|
@ -471,7 +471,6 @@ static BOOL DP_DestroyDirectPlay4( LPVOID lpDP )
|
||||||
|
|
||||||
|
|
||||||
/* Create a new interface */
|
/* Create a new interface */
|
||||||
extern
|
|
||||||
HRESULT DP_CreateInterface
|
HRESULT DP_CreateInterface
|
||||||
( REFIID riid, LPVOID* ppvObj )
|
( REFIID riid, LPVOID* ppvObj )
|
||||||
{
|
{
|
||||||
|
@ -5139,7 +5138,6 @@ static const IDirectPlay4Vtbl directPlay4AVT =
|
||||||
};
|
};
|
||||||
#undef XCAST
|
#undef XCAST
|
||||||
|
|
||||||
extern
|
|
||||||
HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP,
|
HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP,
|
||||||
DPID idPlayer,
|
DPID idPlayer,
|
||||||
LPVOID* lplpData )
|
LPVOID* lplpData )
|
||||||
|
@ -5156,7 +5154,6 @@ HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP,
|
||||||
return DP_OK;
|
return DP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern
|
|
||||||
HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP,
|
HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP,
|
||||||
DPID idPlayer,
|
DPID idPlayer,
|
||||||
LPVOID lpData )
|
LPVOID lpData )
|
||||||
|
|
|
@ -86,7 +86,6 @@ typedef struct tagDP_SPPLAYERDATA
|
||||||
} DP_SPPLAYERDATA, *LPDP_SPPLAYERDATA;
|
} DP_SPPLAYERDATA, *LPDP_SPPLAYERDATA;
|
||||||
|
|
||||||
/* Create the SP interface */
|
/* Create the SP interface */
|
||||||
extern
|
|
||||||
HRESULT DPSP_CreateInterface( REFIID riid, LPVOID* ppvObj, IDirectPlay2Impl* dp )
|
HRESULT DPSP_CreateInterface( REFIID riid, LPVOID* ppvObj, IDirectPlay2Impl* dp )
|
||||||
{
|
{
|
||||||
TRACE( " for %s\n", debugstr_guid( riid ) );
|
TRACE( " for %s\n", debugstr_guid( riid ) );
|
||||||
|
@ -949,7 +948,7 @@ static const IDirectPlaySPVtbl directPlaySPVT =
|
||||||
/* DP external interfaces to call into DPSP interface */
|
/* DP external interfaces to call into DPSP interface */
|
||||||
|
|
||||||
/* Allocate the structure */
|
/* Allocate the structure */
|
||||||
extern LPVOID DPSP_CreateSPPlayerData(void)
|
LPVOID DPSP_CreateSPPlayerData(void)
|
||||||
{
|
{
|
||||||
TRACE( "Creating SPPlayer data struct\n" );
|
TRACE( "Creating SPPlayer data struct\n" );
|
||||||
return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
|
return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
|
||||||
|
|
|
@ -270,7 +270,6 @@ static BOOL DPL_DestroyLobby3( LPVOID lpDPL )
|
||||||
* successfully for a third interface, a query for the first interface
|
* successfully for a third interface, a query for the first interface
|
||||||
* through the pointer for the third interface must succeed.
|
* through the pointer for the third interface must succeed.
|
||||||
*/
|
*/
|
||||||
extern
|
|
||||||
HRESULT DPL_CreateInterface
|
HRESULT DPL_CreateInterface
|
||||||
( REFIID riid, LPVOID* ppvObj )
|
( REFIID riid, LPVOID* ppvObj )
|
||||||
{
|
{
|
||||||
|
@ -679,7 +678,7 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_EnumAddress
|
||||||
return DPL_EnumAddress( lpEnumAddressCallback, lpAddress, dwAddressSize, lpContext );
|
return DPL_EnumAddress( lpEnumAddressCallback, lpAddress, dwAddressSize, lpContext );
|
||||||
}
|
}
|
||||||
|
|
||||||
extern HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback, LPCVOID lpAddress,
|
HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback, LPCVOID lpAddress,
|
||||||
DWORD dwAddressSize, LPVOID lpContext )
|
DWORD dwAddressSize, LPVOID lpContext )
|
||||||
{
|
{
|
||||||
DWORD dwTotalSizeEnumerated = 0;
|
DWORD dwTotalSizeEnumerated = 0;
|
||||||
|
|
Loading…
Reference in New Issue