VirtualBox

Ignore:
Timestamp:
Aug 18, 2015 11:19:28 AM (9 years ago)
Author:
vboxsync
Message:

More DECLCALLBACK fixes; retired RTMemAutoPtr.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r57357 r57416  
    8686
    8787/** Thread to monitor and react to X server VT switches and exits. */
    88 static int pfnMonitorThread(RTTHREAD self, void *pvUser)
     88static DECLCALLBACK(int) vboxClientMonitorThread(RTTHREAD self, void *pvUser)
    8989{
    9090    struct DISPLAYSTATE *pState = (struct DISPLAYSTATE *)pvUser;
     
    122122    int rc;
    123123
    124     rc = RTThreadCreate(NULL, pfnMonitorThread, (void *)pState, 0, RTTHREADTYPE_INFREQUENT_POLLER, 0, "VT_MONITOR");
     124    rc = RTThreadCreate(NULL, vboxClientMonitorThread, (void *)pState, 0, RTTHREADTYPE_INFREQUENT_POLLER, 0, "VT_MONITOR");
    125125    if (rc != VINF_SUCCESS)
    126126        VBClFatalError(("Failed to start the VT monitor thread, rc=%Rrc\n", rc));
  • trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp

    r57357 r57416  
    599599
    600600    int dragAndDropInit(void);
    601     static int hgcmEventThread(RTTHREAD hThread, void *pvUser);
    602     static int x11EventThread(RTTHREAD hThread, void *pvUser);
     601    static DECLCALLBACK(int) hgcmEventThread(RTTHREAD hThread, void *pvUser);
     602    static DECLCALLBACK(int) x11EventThread(RTTHREAD hThread, void *pvUser);
    603603
    604604    /* Private member vars */
     
    31703170 */
    31713171/* static */
    3172 int DragAndDropService::hgcmEventThread(RTTHREAD hThread, void *pvUser)
     3172DECLCALLBACK(int) DragAndDropService::hgcmEventThread(RTTHREAD hThread, void *pvUser)
    31733173{
    31743174    AssertPtrReturn(pvUser, VERR_INVALID_PARAMETER);
     
    32403240 */
    32413241/* static */
    3242 int DragAndDropService::x11EventThread(RTTHREAD hThread, void *pvUser)
     3242DECLCALLBACK(int) DragAndDropService::x11EventThread(RTTHREAD hThread, void *pvUser)
    32433243{
    32443244    AssertPtrReturn(pvUser, VERR_INVALID_PARAMETER);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette