VirtualBox

Ignore:
Timestamp:
Mar 15, 2019 2:14:18 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129375
Message:

IPRT,HostDrivers: Fixed some warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c

    r76553 r77727  
    160160
    161161
     162#if 0 /** @todo r=bird: Who the heck is supposed to call this?!?   */
    162163DECLHIDDEN(void) vboxPciDevCleanup(PVBOXRAWPCIINS pThis)
    163164{
     
    180181    vboxPciGlobalsUnlock(pThis->pGlobals);
    181182}
     183#endif
    182184
    183185
     
    674676}
    675677
     678
    676679/**
    677680 * Try to close the IDC connection to SUPDRV if established.
     
    683686 * @param   pGlobals        Pointer to the globals.
    684687 */
    685 DECLHIDDEN(int) vboxPciDeleteIdc(PVBOXRAWPCIGLOBALS pGlobals)
     688static int vboxPciDeleteIdc(PVBOXRAWPCIGLOBALS pGlobals)
    686689{
    687690    int rc;
     
    718721 * @param   pGlobals        Pointer to the globals.
    719722 */
    720 DECLHIDDEN(int) vboxPciInitGlobals(PVBOXRAWPCIGLOBALS pGlobals)
     723static int vboxPciInitGlobals(PVBOXRAWPCIGLOBALS pGlobals)
    721724{
    722725    /*
     
    742745 * Deletes the globals.
    743746 *
    744  *
    745747 * @param   pGlobals        Pointer to the globals.
    746748 */
    747 DECLHIDDEN(void) vboxPciDeleteGlobals(PVBOXRAWPCIGLOBALS pGlobals)
     749static void vboxPciDeleteGlobals(PVBOXRAWPCIGLOBALS pGlobals)
    748750{
    749751    Assert(!pGlobals->fIDCOpen);
     
    783785{
    784786    int rc = vboxPciDeleteIdc(pGlobals);
    785 
    786787    if (RT_SUCCESS(rc))
    787788        vboxPciDeleteGlobals(pGlobals);
Note: See TracChangeset for help on using the changeset viewer.

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