VirtualBox

Changeset 11521 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 20, 2008 2:46:29 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35066
Message:

IN_MODULE only

Location:
trunk/src/VBox/Runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp

    r11519 r11521  
    4444#include "internal/magics.h"
    4545
    46 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX)
     46#if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)
    4747#include "the-linux-kernel.h"
    4848EXPORT_SYMBOL(RTHeapSimpleAlloc);
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r11391 r11521  
    587587    if (MutexSem != NIL_RTSEMFASTMUTEX)
    588588    {
     589        int rc2;
    589590        RTSemFastMutexRelease(MutexSem);
    590         int rc2 = RTSemFastMutexDestroy(MutexSem);
     591        rc2 = RTSemFastMutexDestroy(MutexSem);
    591592        AssertRC(rc2);
    592593        if (RT_FAILURE(rc2) && RT_SUCCESS(rc))
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r11519 r11521  
    4444#include <linux/spinlock.h> /** @todo why is this here and not in the-linux-kernel.h? */
    4545
    46 #if defined(IN_GUEST_R0)
     46#if defined(IN_GUEST_R0) && defined(IN_MODULE)
    4747EXPORT_SYMBOL(RTSpinlockCreate);
    4848EXPORT_SYMBOL(RTSpinlockDestroy);
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