dplayx: Remove unneeded "extern" from function definitions.

This commit is contained in:
Andrew Talbot 2008-05-21 21:50:32 +01:00 committed by Alexandre Julliard
parent c58e59f40f
commit fed3a4aebe
3 changed files with 3 additions and 8 deletions

View File

@ -471,7 +471,6 @@ static BOOL DP_DestroyDirectPlay4( LPVOID lpDP )
/* Create a new interface */
extern
HRESULT DP_CreateInterface
( REFIID riid, LPVOID* ppvObj )
{
@ -5139,7 +5138,6 @@ static const IDirectPlay4Vtbl directPlay4AVT =
};
#undef XCAST
extern
HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP,
DPID idPlayer,
LPVOID* lplpData )
@ -5156,7 +5154,6 @@ HRESULT DP_GetSPPlayerData( IDirectPlay2Impl* lpDP,
return DP_OK;
}
extern
HRESULT DP_SetSPPlayerData( IDirectPlay2Impl* lpDP,
DPID idPlayer,
LPVOID lpData )

View File

@ -86,7 +86,6 @@ typedef struct tagDP_SPPLAYERDATA
} DP_SPPLAYERDATA, *LPDP_SPPLAYERDATA;
/* Create the SP interface */
extern
HRESULT DPSP_CreateInterface( REFIID riid, LPVOID* ppvObj, IDirectPlay2Impl* dp )
{
TRACE( " for %s\n", debugstr_guid( riid ) );
@ -949,7 +948,7 @@ static const IDirectPlaySPVtbl directPlaySPVT =
/* DP external interfaces to call into DPSP interface */
/* Allocate the structure */
extern LPVOID DPSP_CreateSPPlayerData(void)
LPVOID DPSP_CreateSPPlayerData(void)
{
TRACE( "Creating SPPlayer data struct\n" );
return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,

View File

@ -270,7 +270,6 @@ static BOOL DPL_DestroyLobby3( LPVOID lpDPL )
* successfully for a third interface, a query for the first interface
* through the pointer for the third interface must succeed.
*/
extern
HRESULT DPL_CreateInterface
( REFIID riid, LPVOID* ppvObj )
{
@ -679,8 +678,8 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_EnumAddress
return DPL_EnumAddress( lpEnumAddressCallback, lpAddress, dwAddressSize, lpContext );
}
extern HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback, LPCVOID lpAddress,
DWORD dwAddressSize, LPVOID lpContext )
HRESULT DPL_EnumAddress( LPDPENUMADDRESSCALLBACK lpEnumAddressCallback, LPCVOID lpAddress,
DWORD dwAddressSize, LPVOID lpContext )
{
DWORD dwTotalSizeEnumerated = 0;