VirtualBox

Changeset 60193 in vbox for trunk


Ignore:
Timestamp:
Mar 26, 2016 12:57:01 PM (9 years ago)
Author:
vboxsync
Message:

static DECLINLINE -> DECLINLINE.

Location:
trunk/src/VBox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp

    r58358 r60193  
    529529}
    530530
    531 static DECLINLINE(BOOLEAN) vboxWddmDalCheckAddRc(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_RESOURCE pRc, BOOLEAN fWrite)
     531DECLINLINE(BOOLEAN) vboxWddmDalCheckAddRc(PVBOXWDDMDISP_DEVICE pDevice, PVBOXWDDMDISP_RESOURCE pRc, BOOLEAN fWrite)
    532532{
    533533    BOOLEAN fChanged = FALSE;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h

    r57633 r60193  
    171171        default: Assert(0); return "Unknown";
    172172
    173 static DECLINLINE(const char*) vboxDispLogD3DRcType(D3DRESOURCETYPE enmType)
     173DECLINLINE(const char*) vboxDispLogD3DRcType(D3DRESOURCETYPE enmType)
    174174{
    175175    switch (enmType)
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/vboxext.c

    r46521 r60193  
    725725}
    726726
    727 static DECLINLINE(uint32_t) vboxExtHashIdx(uint32_t u32Hash)
     727DECLINLINE(uint32_t) vboxExtHashIdx(uint32_t u32Hash)
    728728{
    729729    return u32Hash % VBOXEXT_HASHMAP_NUM_BUCKETS;
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp

    r58374 r60193  
    533533
    534534
    535 static DECLINLINE(bool) supHardNtVpIsModuleNameMatch(PSUPHNTVPIMAGE pImage, const char *pszModule)
     535DECLINLINE(bool) supHardNtVpIsModuleNameMatch(PSUPHNTVPIMAGE pImage, const char *pszModule)
    536536{
    537537    if (pImage->fDll)
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h

    r56293 r60193  
    33 * VBoxUsbDev.h - USB device.
    44 */
     5
    56/*
    67 * Copyright (C) 2011-2015 Oracle Corporation
     
    1415 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1516 */
     17
    1618#ifndef ___VBoxUsbDev_h___
    1719#define ___VBoxUsbDev_h___
     
    8587
    8688/* pnp state api */
    87 static DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateGet(PVBOXUSBDEV_EXT pDevExt)
     89DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateGet(PVBOXUSBDEV_EXT pDevExt)
    8890{
    8991    return (ENMVBOXUSB_PNPSTATE)ASMAtomicUoReadU32((volatile uint32_t*)&pDevExt->DdiState.PnPState.Curr);
    9092}
    9193
    92 static DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateSet(PVBOXUSBDEV_EXT pDevExt, ENMVBOXUSB_PNPSTATE enmState)
     94DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateSet(PVBOXUSBDEV_EXT pDevExt, ENMVBOXUSB_PNPSTATE enmState)
    9395{
    9496    KIRQL Irql;
     
    104106}
    105107
    106 static DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateRestore(PVBOXUSBDEV_EXT pDevExt)
     108DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbPnPStateRestore(PVBOXUSBDEV_EXT pDevExt)
    107109{
    108110    ENMVBOXUSB_PNPSTATE enmNewState, enmOldState;
     
    120122}
    121123
    122 static DECLINLINE(VOID) vboxUsbPnPStateInit(PVBOXUSBDEV_EXT pDevExt)
     124DECLINLINE(VOID) vboxUsbPnPStateInit(PVBOXUSBDEV_EXT pDevExt)
    123125{
    124126    pDevExt->DdiState.PnPState.Curr = pDevExt->DdiState.PnPState.Prev = ENMVBOXUSB_PNPSTATE_START_PENDING;
    125127}
    126128
    127 static DECLINLINE(VOID) vboxUsbDdiStateInit(PVBOXUSBDEV_EXT pDevExt)
     129DECLINLINE(VOID) vboxUsbDdiStateInit(PVBOXUSBDEV_EXT pDevExt)
    128130{
    129131    KeInitializeSpinLock(&pDevExt->DdiState.Lock);
     
    133135}
    134136
    135 static DECLINLINE(bool) vboxUsbDdiStateRetainIfStarted(PVBOXUSBDEV_EXT pDevExt)
     137DECLINLINE(bool) vboxUsbDdiStateRetainIfStarted(PVBOXUSBDEV_EXT pDevExt)
    136138{
    137139    KIRQL oldIrql;
     
    154156 * NOTE: never returns ENMVBOXUSB_PNPSTATE_REMOVED
    155157 * */
    156 static DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbDdiStateRetainIfNotRemoved(PVBOXUSBDEV_EXT pDevExt)
     158DECLINLINE(ENMVBOXUSB_PNPSTATE) vboxUsbDdiStateRetainIfNotRemoved(PVBOXUSBDEV_EXT pDevExt)
    157159{
    158160    KIRQL oldIrql;
     
    168170}
    169171
    170 static DECLINLINE(uint32_t) vboxUsbDdiStateRetain(PVBOXUSBDEV_EXT pDevExt)
     172DECLINLINE(uint32_t) vboxUsbDdiStateRetain(PVBOXUSBDEV_EXT pDevExt)
    171173{
    172174    return VBoxDrvToolRefRetain(&pDevExt->DdiState.Ref);
    173175}
    174176
    175 static DECLINLINE(uint32_t) vboxUsbDdiStateRelease(PVBOXUSBDEV_EXT pDevExt)
     177DECLINLINE(uint32_t) vboxUsbDdiStateRelease(PVBOXUSBDEV_EXT pDevExt)
    176178{
    177179    return VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref);
    178180}
    179181
    180 static DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitCompleted(PVBOXUSBDEV_EXT pDevExt)
     182DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitCompleted(PVBOXUSBDEV_EXT pDevExt)
    181183{
    182184    VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref);
     
    184186}
    185187
    186 static DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitRemoved(PVBOXUSBDEV_EXT pDevExt)
     188DECLINLINE(VOID) vboxUsbDdiStateReleaseAndWaitRemoved(PVBOXUSBDEV_EXT pDevExt)
    187189{
    188190    VBoxDrvToolRefRelease(&pDevExt->DdiState.Ref);
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r59566 r60193  
    15961596 * @param   pwszTypeLibVersion      The type library version string.
    15971597 */
    1598 static DECLINLINE(bool) vbpsIsTypeLibVersionToRemove(PCRTUTF16 pwszTypeLibVersion)
     1598DECLINLINE(bool) vbpsIsTypeLibVersionToRemove(PCRTUTF16 pwszTypeLibVersion)
    15991599{
    16001600    AssertCompile(RT_ELEMENTS(g_apwszTypelibVersions) == 2);
     
    17001700 * @param   pwszTypeLibId  The type library ID as a bracketed string.
    17011701 */
    1702 static DECLINLINE(bool) vbpsIsTypeLibIdToRemove(PRTUTF16 pwszTypeLibId)
     1702DECLINLINE(bool) vbpsIsTypeLibIdToRemove(PRTUTF16 pwszTypeLibId)
    17031703{
    17041704#ifdef VBOX_STRICT
     
    17511751 * @param   pwszProxyStubId     The proxy stub class ID.
    17521752 */
    1753 static DECLINLINE(bool) vbpsIsProxyStubClsIdToRemove(PRTUTF16 pwszProxyStubId)
     1753DECLINLINE(bool) vbpsIsProxyStubClsIdToRemove(PRTUTF16 pwszProxyStubId)
    17541754{
    17551755#ifdef VBOX_STRICT
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