VirtualBox

Ignore:
Timestamp:
Nov 4, 2008 8:35:37 AM (16 years ago)
Author:
vboxsync
Message:

EXPORT_SYMBOL after implementation of the function/variable; fixed warning

File:
1 edited

Legend:

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

    r11521 r13775  
    3434*******************************************************************************/
    3535#define LOG_GROUP RTLOGGROUP_DEFAULT
     36
     37#if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)
     38/* should come first to prevent warnings about duplicate definitions of PAGE_* */
     39# include "the-linux-kernel.h"
     40#endif
     41
    3642#include <iprt/heap.h>
    3743#include <iprt/assert.h>
     
    4450#include "internal/magics.h"
    4551
    46 #if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)
    47 #include "the-linux-kernel.h"
    48 EXPORT_SYMBOL(RTHeapSimpleAlloc);
    49 EXPORT_SYMBOL(RTHeapSimpleInit);
    50 EXPORT_SYMBOL(RTHeapSimpleFree);
    51 #endif
    5252
    5353/*******************************************************************************
     
    939939}
    940940
     941
     942#if defined(IN_GUEST_R0) && defined(RT_OS_LINUX) && defined(IN_MODULE)
     943EXPORT_SYMBOL(RTHeapSimpleAlloc);
     944EXPORT_SYMBOL(RTHeapSimpleInit);
     945EXPORT_SYMBOL(RTHeapSimpleFree);
     946#endif
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