VirtualBox

Ignore:
Timestamp:
Jul 9, 2020 12:05:45 AM (4 years ago)
Author:
vboxsync
Message:

SUPLib: Make the suplibOs* hidden. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPLib-freebsd.cpp

    r82968 r85129  
    6868
    6969
    70 int suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo)
     70DECLHIDDEN(int) suplibOsInit(PSUPLIBDATA pThis, bool fPreInited, bool fUnrestricted, SUPINITOP *penmWhat, PRTERRINFO pErrInfo)
    7171{
    7272    /*
     
    120120
    121121
    122 int suplibOsTerm(PSUPLIBDATA pThis)
     122DECLHIDDEN(int) suplibOsTerm(PSUPLIBDATA pThis)
    123123{
    124124    /*
     
    137137#ifndef IN_SUP_HARDENED_R3
    138138
    139 int suplibOsInstall(void)
     139DECLHIDDEN(int) suplibOsInstall(void)
    140140{
    141141    return VERR_NOT_IMPLEMENTED;
     
    143143
    144144
    145 int suplibOsUninstall(void)
     145DECLHIDDEN(int) suplibOsUninstall(void)
    146146{
    147147    return VERR_NOT_IMPLEMENTED;
     
    149149
    150150
    151 int suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
     151DECLHIDDEN(int) suplibOsIOCtl(PSUPLIBDATA pThis, uintptr_t uFunction, void *pvReq, size_t cbReq)
    152152{
    153153    if (RT_LIKELY(ioctl(pThis->hDevice, uFunction, pvReq) >= 0))
     
    157157
    158158
    159 int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu)
     159DECLHIDDEN(int) suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu)
    160160{
    161161    int rc = ioctl(pThis->hDevice, uFunction, idCpu);
     
    166166
    167167
    168 int suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
     168DECLHIDDEN(int) suplibOsPageAlloc(PSUPLIBDATA pThis, size_t cPages, void **ppvPages)
    169169{
    170170    NOREF(pThis);
     
    176176
    177177
    178 int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
     178DECLHIDDEN(int) suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
    179179{
    180180    NOREF(pThis);
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