VirtualBox

Ignore:
Timestamp:
Aug 2, 2016 3:31:02 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109482
Message:

Additions/common: gcc warnings.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r62521 r62882  
    322322        unsigned long fFlags = MS_NODEV;
    323323
    324         const char *szOptions = { "rw" };
     324        /*const char *szOptions = { "rw" }; - ??? */
    325325        struct vbsf_mount_info_new mntinf;
    326326
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp

    r62521 r62882  
    7878/** The guest control service client ID. */
    7979static uint32_t             g_uControlSvcClientID = 0;
     80#if 0 /** @todo process limit */
    8081/** How many started guest processes are kept into memory for supplying
    8182 *  information to the host. Default is 256 processes. If 0 is specified,
    8283 *  the maximum number of processes is unlimited. */
    8384static uint32_t             g_uControlProcsMaxKept = 256;
     85#endif
    8486/** List of guest control session threads (VBOXSERVICECTRLSESSIONTHREAD).
    8587 *  A guest session thread represents a forked guest session process
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp

    r62850 r62882  
    5050static int                  vgsvcGstCtrlProcessAssignPID(PVBOXSERVICECTRLPROCESS pThread, uint32_t uPID);
    5151static int                  vgsvcGstCtrlProcessLock(PVBOXSERVICECTRLPROCESS pProcess);
    52 static int                  vgsvcGstCtrlProcessRequest(PVBOXSERVICECTRLPROCESS pProcess, const PVBGLR3GUESTCTRLCMDCTX pHostCtx,
    53                                                        PFNRT pfnFunction, unsigned cArgs, ...);
    5452static int                  vgsvcGstCtrlProcessSetupPipe(const char *pszHowTo, int fd, PRTHANDLE ph, PRTHANDLE *pph,
    5553                                                         PRTPIPE phPipe);
     
    304302
    305303
     304#ifdef DEBUG
    306305/**
    307306 * Names a poll handle ID.
     
    330329    }
    331330}
     331#endif /* DEBUG */
    332332
    333333
     
    847847
    848848
     849#if 0 /* unused */
    849850/**
    850851 * Initializes a pipe's handle and pipe object.
     
    865866    return VINF_SUCCESS;
    866867}
     868#endif
    867869
    868870
     
    12151217                                            PRTPROCESS phProcess)
    12161218{
     1219#ifndef RT_OS_WINDOWS
     1220    RT_NOREF1(pszDomain);
     1221#endif
    12171222    AssertPtrReturn(pszExec, VERR_INVALID_PARAMETER);
    12181223    AssertPtrReturn(papszArgs, 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