VirtualBox

Changeset 309 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 25, 2007 3:57:38 PM (18 years ago)
Author:
vboxsync
Message:

DECLINLINE is supposed to be static of course.

Location:
trunk/src/VBox/Additions/common/VBoxGuestLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/HGCM.cpp

    r301 r309  
    7272}
    7373
    74 static DECLINLINE(int) vbglHandleHeapEnter (void)
     74DECLINLINE(int) vbglHandleHeapEnter (void)
    7575{
    7676    int rc = RTSemFastMutexRequest(g_vbgldata.mutexHGCMHandle);
     
    8282}
    8383
    84 static DECLINLINE(void) vbglHandleHeapLeave (void)
     84DECLINLINE(void) vbglHandleHeapLeave (void)
    8585{
    8686    RTSemFastMutexRelease(g_vbgldata.mutexHGCMHandle);
  • trunk/src/VBox/Additions/common/VBoxGuestLib/PhysHeap.cpp

    r295 r309  
    156156
    157157
    158 static DECLINLINE(void *) vbglPhysHeapBlock2Data (VBGLPHYSHEAPBLOCK *pBlock)
     158DECLINLINE(void *) vbglPhysHeapBlock2Data (VBGLPHYSHEAPBLOCK *pBlock)
    159159{
    160160    return (void *)(pBlock? (char *)pBlock + sizeof (VBGLPHYSHEAPBLOCK): NULL);
    161161}
    162162
    163 static DECLINLINE(VBGLPHYSHEAPBLOCK *) vbglPhysHeapData2Block (void *p)
     163DECLINLINE(VBGLPHYSHEAPBLOCK *) vbglPhysHeapData2Block (void *p)
    164164{
    165165    VBGLPHYSHEAPBLOCK *pBlock = (VBGLPHYSHEAPBLOCK *)(p? (char *)p - sizeof (VBGLPHYSHEAPBLOCK): NULL);
     
    171171}
    172172
    173 static DECLINLINE(int) vbglPhysHeapEnter (void)
     173DECLINLINE(int) vbglPhysHeapEnter (void)
    174174{
    175175    int rc = RTSemFastMutexRequest(g_vbgldata.mutexHeap);
     
    181181}
    182182
    183 static DECLINLINE(void) vbglPhysHeapLeave (void)
     183DECLINLINE(void) vbglPhysHeapLeave (void)
    184184{
    185185    RTSemFastMutexRelease(g_vbgldata.mutexHeap);
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