Changeset 7801 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Apr 8, 2008 1:12:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/service.cpp
r7165 r7801 242 242 } 243 243 244 static DECLCALLBACK(int) svcUnload (void )244 static DECLCALLBACK(int) svcUnload (void *) 245 245 { 246 246 vboxClipboardDestroy (); … … 253 253 * to the guest side. 254 254 */ 255 static DECLCALLBACK(int) svcDisconnect ( uint32_t u32ClientID, void *pvClient)255 static DECLCALLBACK(int) svcDisconnect (void *, uint32_t u32ClientID, void *pvClient) 256 256 { 257 257 VBOXCLIPBOARDCLIENTDATA *pClient = (VBOXCLIPBOARDCLIENTDATA *)pvClient; … … 268 268 } 269 269 270 static DECLCALLBACK(int) svcConnect ( uint32_t u32ClientID, void *pvClient)270 static DECLCALLBACK(int) svcConnect (void *, uint32_t u32ClientID, void *pvClient) 271 271 { 272 272 VBOXCLIPBOARDCLIENTDATA *pClient = (VBOXCLIPBOARDCLIENTDATA *)pvClient; … … 279 279 uint32_t u32ClientID = g_pClient->u32ClientID; 280 280 281 svcDisconnect( u32ClientID, g_pClient);281 svcDisconnect(NULL, u32ClientID, g_pClient); 282 282 /* And free the resources in the hgcm subsystem. */ 283 283 g_pHelpers->pfnDisconnectClient(g_pHelpers->pvInstance, u32ClientID); … … 301 301 } 302 302 303 static DECLCALLBACK(void) svcCall (VBOXHGCMCALLHANDLE callHandle, 303 static DECLCALLBACK(void) svcCall (void *, 304 VBOXHGCMCALLHANDLE callHandle, 304 305 uint32_t u32ClientID, 305 306 void *pvClient, … … 562 563 * We differentiate between a function handler for the guest and one for the host. 563 564 */ 564 static DECLCALLBACK(int) svcHostCall (uint32_t u32Function, 565 static DECLCALLBACK(int) svcHostCall (void *, 566 uint32_t u32Function, 565 567 uint32_t cParms, 566 568 VBOXHGCMSVCPARM paParms[]) … … 605 607 } 606 608 607 static DECLCALLBACK(int) svcSaveState( uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM)609 static DECLCALLBACK(int) svcSaveState(void *, uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM) 608 610 { 609 611 /* If there are any pending requests, they must be completed here. Since … … 638 640 } 639 641 640 static DECLCALLBACK(int) svcLoadState( uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM)642 static DECLCALLBACK(int) svcLoadState(void *, uint32_t u32ClientID, void *pvClient, PSSMHANDLE pSSM) 641 643 { 642 644 Log(("svcLoadState: u32ClientID = %d\n", u32ClientID)); … … 704 706 } 705 707 706 static DECLCALLBACK(int) svcRegisterExtension( PFNHGCMSVCEXT pfnExtension, void *pvExtension)708 static DECLCALLBACK(int) svcRegisterExtension(void *, PFNHGCMSVCEXT pfnExtension, void *pvExtension) 707 709 { 708 710 LogFlowFunc(("pfnExtension = %p\n", pfnExtension)); … … 768 770 ptable->pfnLoadState = svcLoadState; 769 771 ptable->pfnRegisterExtension = svcRegisterExtension; 772 ptable->pvService = NULL; 770 773 771 774 /* Service specific initialization. */
Note:
See TracChangeset
for help on using the changeset viewer.