VirtualBox

Changeset 85124 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jul 8, 2020 9:13:30 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139064
Message:

*: Use DECL_HIDDEN_DATA for data, DECLHIDDEN will soon be exclusively for functions. bugref:9794

Location:
trunk/src/VBox/Runtime/common
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/pkix-signature-builtin.h

    r82968 r85124  
    3333#include <iprt/crypto/pkix.h>
    3434
    35 extern DECLHIDDEN(RTCRPKIXSIGNATUREDESC const) g_rtCrPkixSigningHashWithRsaDesc;
     35extern DECL_HIDDEN_DATA(RTCRPKIXSIGNATUREDESC const) g_rtCrPkixSigningHashWithRsaDesc;
    3636
    3737#endif /* !IPRT_INCLUDED_SRC_common_crypto_pkix_signature_builtin_h */
  • trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp

    r83085 r85124  
    120120/** String cache for the debug info interpreters.
    121121 * RTSTRCACHE is thread safe. */
    122 DECLHIDDEN(RTSTRCACHE)  g_hDbgModStrCache = NIL_RTSTRCACHE;
     122DECL_HIDDEN_DATA(RTSTRCACHE)  g_hDbgModStrCache = NIL_RTSTRCACHE;
    123123
    124124
  • trunk/src/VBox/Runtime/common/dvm/dvm.cpp

    r82968 r85124  
    9494*   Global variables                                                                                                             *
    9595*********************************************************************************************************************************/
    96 extern RTDVMFMTOPS g_rtDvmFmtMbr;
    97 extern RTDVMFMTOPS g_rtDvmFmtGpt;
    98 extern RTDVMFMTOPS g_rtDvmFmtBsdLbl;
     96extern DECL_HIDDEN_DATA(const RTDVMFMTOPS) g_rtDvmFmtMbr;
     97extern DECL_HIDDEN_DATA(const RTDVMFMTOPS) g_rtDvmFmtGpt;
     98extern DECL_HIDDEN_DATA(const RTDVMFMTOPS) g_rtDvmFmtBsdLbl;
    9999
    100100/**
  • trunk/src/VBox/Runtime/common/dvm/dvmbsdlabel.cpp

    r82968 r85124  
    525525}
    526526
    527 DECLHIDDEN(RTDVMFMTOPS) g_rtDvmFmtBsdLbl =
     527DECL_HIDDEN_CONST(const RTDVMFMTOPS) g_rtDvmFmtBsdLbl =
    528528{
    529529    /* pcszFmt */
  • trunk/src/VBox/Runtime/common/dvm/dvmgpt.cpp

    r82968 r85124  
    537537}
    538538
    539 RTDVMFMTOPS g_rtDvmFmtGpt =
     539DECL_HIDDEN_CONST(const RTDVMFMTOPS) g_rtDvmFmtGpt =
    540540{
    541541    /* pszFmt */
  • trunk/src/VBox/Runtime/common/dvm/dvmmbr.cpp

    r82968 r85124  
    686686}
    687687
    688 RTDVMFMTOPS g_rtDvmFmtMbr =
     688DECL_HIDDEN_CONST(const RTDVMFMTOPS) g_rtDvmFmtMbr =
    689689{
    690690    /* pszFmt */
  • trunk/src/VBox/Runtime/common/misc/thread.cpp

    r83125 r85124  
    8787static uint32_t volatile        g_cThreadInTree;
    8888/** Counters for each thread type. */
    89 DECLHIDDEN(uint32_t volatile)  g_acRTThreadTypeStats[RTTHREADTYPE_END];
     89DECL_HIDDEN_DATA(uint32_t volatile) g_acRTThreadTypeStats[RTTHREADTYPE_END];
    9090
    9191
  • trunk/src/VBox/Runtime/common/string/base64.h

    r84297 r85124  
    5050*   Global Variables                                                                                                             *
    5151*********************************************************************************************************************************/
    52 extern DECLHIDDEN(const uint8_t)    g_au8rtBase64CharToVal[256];
    53 extern DECLHIDDEN(const char)       g_szrtBase64ValToChar[64+1];
    54 extern DECLHIDDEN(const size_t)     g_acchrtBase64EolStyles[RTBASE64_FLAGS_EOL_STYLE_MASK + 1];
    55 extern DECLHIDDEN(const char)       g_aachrtBase64EolStyles[RTBASE64_FLAGS_EOL_STYLE_MASK + 1][2];
     52extern DECL_HIDDEN_DATA(const uint8_t)  g_au8rtBase64CharToVal[256];
     53extern DECL_HIDDEN_DATA(const char)     g_szrtBase64ValToChar[64+1];
     54extern DECL_HIDDEN_DATA(const size_t)   g_acchrtBase64EolStyles[RTBASE64_FLAGS_EOL_STYLE_MASK + 1];
     55extern DECL_HIDDEN_DATA(const char)     g_aachrtBase64EolStyles[RTBASE64_FLAGS_EOL_STYLE_MASK + 1][2];
    5656
    5757
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