VirtualBox

Ignore:
Timestamp:
Jul 7, 2009 2:58:27 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49685
Message:

IPRT,HostDrv,AddDrv: Export public IPRT symbols for the linux kernel (pain).

Location:
trunk/src/VBox/Runtime/common/err
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/err/RTErrConvertFromErrno.cpp

    r18329 r21337  
    3434*******************************************************************************/
    3535#include <iprt/err.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/assert.h>
    37 #include <iprt/err.h>
    3839
    3940#if defined(RT_OS_DARWIN) && defined(KERNEL)
     
    446447    }
    447448}
    448 
     449RT_EXPORT_SYMBOL(RTErrConvertFromErrno);
     450
  • trunk/src/VBox/Runtime/common/err/RTErrConvertToErrno.cpp

    r18329 r21337  
    3434*******************************************************************************/
    3535#include <iprt/err.h>
     36#include "internal/iprt.h"
     37
    3638#include <iprt/assert.h>
    3739#include <iprt/err.h>
     
    456458    }
    457459}
    458 
    459 #if defined(RT_OS_LINUX) && defined(IN_MODULE)
    460 /*
    461  * When we build this in the Linux kernel module, we wish to make the
    462  * symbols available to other modules as well.
    463  */
    464 # include "the-linux-kernel.h"
    465 EXPORT_SYMBOL(RTErrConvertToErrno);
    466 #endif
     460RT_EXPORT_SYMBOL(RTErrConvertToErrno);
     461
  • trunk/src/VBox/Runtime/common/err/errmsg.cpp

    r13836 r21337  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include <iprt/err.h>
     36#include "internal/iprt.h"
     37
    3538#include <iprt/asm.h>
    3639#include <iprt/string.h>
     
    103106    return &g_aUnknownMsgs[iMsg];
    104107}
     108RT_EXPORT_SYMBOL(RTErrGet);
    105109
  • trunk/src/VBox/Runtime/common/err/errmsgxpcom.cpp

    r14626 r21337  
    3333*******************************************************************************/
    3434#include <iprt/err.h>
     35#include "internal/iprt.h"
     36
    3537#include <iprt/asm.h>
    3638#include <iprt/string.h>
     
    150152    return &g_aUnknownMsgs[iMsg];
    151153}
     154RT_EXPORT_SYMBOL(RTErrCOMGet);
    152155
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