Andrew Talbot : dplayx: Remove unused functions.

Alexandre Julliard julliard at winehq.org
Thu Feb 5 09:20:59 CST 2009


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Feb  4 20:39:39 2009 +0000

dplayx: Remove unused functions.

---

 dlls/dplayx/dplayx_global.c |   27 ---------------------------
 dlls/dplayx/name_server.c   |    7 -------
 dlls/dplayx/name_server.h   |    1 -
 3 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c
index 7cafb59..938ade9 100644
--- a/dlls/dplayx/dplayx_global.c
+++ b/dlls/dplayx/dplayx_global.c
@@ -450,33 +450,6 @@ BOOL DPLAYX_CreateLobbyApplication( DWORD dwAppID )
   return FALSE;
 }
 
-/* I'm not sure when I'm going to need this, but here it is */
-BOOL DPLAYX_DestroyLobbyApplication( DWORD dwAppID )
-{
-  UINT i;
-
-  DPLAYX_AcquireSemaphore();
-
-  /* Find an empty space in the list and insert the data */
-  for( i=0; i < numSupportedLobbies; i++ )
-  {
-    if( lobbyData[ i ].dwAppID == dwAppID )
-    {
-      /* FIXME: Should free up anything unused. Tisk tisk :0 */
-      /* Mark this entry unused */
-      TRACE( "Marking lobbyData[%u] unused\n", i );
-      DPLAYX_InitializeLobbyDataEntry( &lobbyData[ i ] );
-
-      DPLAYX_ReleaseSemaphore();
-      return TRUE;
-    }
-  }
-
-  DPLAYX_ReleaseSemaphore();
-  ERR( "Unable to find global entry for application\n" );
-  return FALSE;
-}
-
 BOOL DPLAYX_SetLobbyHandles( DWORD dwAppID,
                              HANDLE hStart, HANDLE hDeath, HANDLE hConnRead )
 {
diff --git a/dlls/dplayx/name_server.c b/dlls/dplayx/name_server.c
index 7bb8e7b..e6a6b62 100644
--- a/dlls/dplayx/name_server.c
+++ b/dlls/dplayx/name_server.c
@@ -83,13 +83,6 @@ void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
   lpCache->bNsIsLocal = TRUE;
 }
 
-void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo )
-{
-  lpNSCache lpCache = (lpNSCache)lpNSInfo;
-
-  lpCache->bNsIsLocal = FALSE;
-}
-
 static DPQ_DECL_COMPARECB( cbUglyPig, GUID )
 {
   return IsEqualGUID( elem1, elem2 );
diff --git a/dlls/dplayx/name_server.h b/dlls/dplayx/name_server.h
index a1d3dd7..9c09ec6 100644
--- a/dlls/dplayx/name_server.h
+++ b/dlls/dplayx/name_server.h
@@ -29,7 +29,6 @@
 #include "dplay_global.h"
 
 void NS_SetLocalComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
-void NS_SetRemoteComputerAsNameServer( LPCDPSESSIONDESC2 lpsd, LPVOID lpNSInfo );
 void NS_AddRemoteComputerAsNameServer( LPCVOID lpNSAddrHdr,
                                        DWORD dwHdrSize,
                                        LPCDPMSG_ENUMSESSIONSREPLY lpcMsg,




More information about the wine-cvs mailing list