Andrew Talbot : dplayx: Remove unneeded "extern" from function definitions.

Alexandre Julliard julliard at winehq.org
Thu May 22 06:26:44 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed May 21 21:50:32 2008 +0100

dplayx: Remove unneeded "extern" from function definitions.

---

 dlls/dplayx/dplay.c   |    3 ---
 dlls/dplayx/dplaysp.c |    3 +--
 dlls/dplayx/dplobby.c |    5 ++---
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c
index 7b18010..3623453 100644
--- a/dlls/dplayx/dplay.c
+++ b/dlls/dplayx/dplay.c
@@ -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 )
diff --git a/dlls/dplayx/dplaysp.c b/dlls/dplayx/dplaysp.c
index b3b1b60..33cfedd 100644
--- a/dlls/dplayx/dplaysp.c
+++ b/dlls/dplayx/dplaysp.c
@@ -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,
diff --git a/dlls/dplayx/dplobby.c b/dlls/dplayx/dplobby.c
index 30b0a9f..f78d657 100644
--- a/dlls/dplayx/dplobby.c
+++ b/dlls/dplayx/dplobby.c
@@ -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;
 




More information about the wine-cvs mailing list