VirtualBox

vbox的更動 36555 路徑 trunk/src/VBox/Runtime/r3/posix


忽略:
時間撮記:
2011-4-5 下午12:34:09 (14 年 以前)
作者:
vboxsync
訊息:

Use DECLHIDDEN, especially in IPRT.

位置:
trunk/src/VBox/Runtime/r3/posix
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/posix/sched-posix.cpp

    r33540 r36555  
    509509 * @param   enmType     The thread type to be assumed for the current thread.
    510510 */
    511 int rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType)
     511DECLHIDDEN(int) rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType)
    512512{
    513513    Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END);
     
    644644 * @param   enmPriority     The priority to validate and set.
    645645 */
    646 int rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
     646DECLHIDDEN(int) rtProcNativeSetPriority(RTPROCPRIORITY enmPriority)
    647647{
    648648    Assert(enmPriority > RTPROCPRIORITY_INVALID && enmPriority < RTPROCPRIORITY_LAST);
     
    740740 * @param   enmType     The thread type.
    741741 */
    742 int rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
     742DECLHIDDEN(int) rtThreadNativeSetPriority(PRTTHREADINT pThread, RTTHREADTYPE enmType)
    743743{
    744744    Assert(enmType > RTTHREADTYPE_INVALID && enmType < RTTHREADTYPE_END);
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r35877 r36555  
    9090
    9191
    92 int rtThreadNativeInit(void)
     92DECLHIDDEN(int) rtThreadNativeInit(void)
    9393{
    9494    /*
     
    189189 * @param   pThread     Pointer to the thread structure.
    190190 */
    191 int rtThreadNativeAdopt(PRTTHREADINT pThread)
     191DECLHIDDEN(int) rtThreadNativeAdopt(PRTTHREADINT pThread)
    192192{
    193193    /*
     
    212212
    213213
    214 void rtThreadNativeDestroy(PRTTHREADINT pThread)
     214DECLHIDDEN(void) rtThreadNativeDestroy(PRTTHREADINT pThread)
    215215{
    216216    if (pThread == (PRTTHREADINT)pthread_getspecific(g_SelfKey))
     
    264264
    265265
    266 int rtThreadNativeCreate(PRTTHREADINT pThread, PRTNATIVETHREAD pNativeThread)
     266DECLHIDDEN(int) rtThreadNativeCreate(PRTTHREADINT pThread, PRTNATIVETHREAD pNativeThread)
    267267{
    268268    /*
  • trunk/src/VBox/Runtime/r3/posix/utf8-posix.cpp

    r31961 r36555  
    5757 * @returns Pointer to read-only string with the codeset name.
    5858 */
    59 const char *rtStrGetLocaleCodeset(void)
     59DECLHIDDEN(const char *) rtStrGetLocaleCodeset(void)
    6060{
    6161    return nl_langinfo(CODESET);
     
    7070 * @param   pThread             The thread in question.
    7171 */
    72 void rtStrIconvCacheInit(PRTTHREADINT pThread)
     72DECLHIDDEN(void) rtStrIconvCacheInit(PRTTHREADINT pThread)
    7373{
    7474    for (size_t i = 0; i < RT_ELEMENTS(pThread->ahIconvs); i++)
     
    8181 * @param   pThread             The thread in question.
    8282 */
    83 void rtStrIconvCacheDestroy(PRTTHREADINT pThread)
     83DECLHIDDEN(void) rtStrIconvCacheDestroy(PRTTHREADINT pThread)
    8484{
    8585    for (size_t i = 0; i < RT_ELEMENTS(pThread->ahIconvs); i++)
     
    409409 * @param   enmCacheIdx     The iconv cache index.
    410410 */
    411 int rtStrConvert(const char *pchInput, size_t cchInput, const char *pszInputCS,
    412                  char **ppszOutput, size_t cbOutput, const char *pszOutputCS,
    413                  unsigned cFactor, RTSTRICONV enmCacheIdx)
     411DECLHIDDEN(int) rtStrConvert(const char *pchInput, size_t cchInput, const char *pszInputCS,
     412                             char **ppszOutput, size_t cbOutput, const char *pszOutputCS,
     413                             unsigned cFactor, RTSTRICONV enmCacheIdx)
    414414{
    415415    Assert(enmCacheIdx >= 0 && enmCacheIdx < RTSTRICONV_END);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette