VirtualBox

Ignore:
Timestamp:
Jul 8, 2020 9:13:30 PM (4 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/init.cpp

    r85121 r85124  
    8888/** The process path.
    8989 * This is used by RTPathExecDir and RTProcGetExecutablePath and set by rtProcInitName. */
    90 DECLHIDDEN(char)            g_szrtProcExePath[RTPATH_MAX];
     90DECL_HIDDEN_DATA(char)      g_szrtProcExePath[RTPATH_MAX];
    9191/** The length of g_szrtProcExePath. */
    92 DECLHIDDEN(size_t)          g_cchrtProcExePath;
     92DECL_HIDDEN_DATA(size_t)    g_cchrtProcExePath;
    9393/** The length of directory path component of g_szrtProcExePath. */
    94 DECLHIDDEN(size_t)          g_cchrtProcDir;
     94DECL_HIDDEN_DATA(size_t)    g_cchrtProcDir;
    9595/** The offset of the process name into g_szrtProcExePath. */
    96 DECLHIDDEN(size_t)          g_offrtProcName;
     96DECL_HIDDEN_DATA(size_t)    g_offrtProcName;
    9797
    9898/** The IPRT init flags. */
     
    109109 * Program start nanosecond TS.
    110110 */
    111 DECLHIDDEN(uint64_t)        g_u64ProgramStartNanoTS;
     111DECL_HIDDEN_DATA(uint64_t)  g_u64ProgramStartNanoTS;
    112112
    113113/**
    114114 * The process identifier of the running process.
    115115 */
    116 DECLHIDDEN(RTPROCESS)      g_ProcessSelf = NIL_RTPROCESS;
     116DECL_HIDDEN_DATA(RTPROCESS) g_ProcessSelf = NIL_RTPROCESS;
    117117
    118118/**
    119119 * The current process priority.
    120120 */
    121 DECLHIDDEN(RTPROCPRIORITY)  g_enmProcessPriority = RTPROCPRIORITY_DEFAULT;
     121DECL_HIDDEN_DATA(RTPROCPRIORITY)  g_enmProcessPriority = RTPROCPRIORITY_DEFAULT;
    122122
    123123/**
     
    125125 * that the process is terminating.
    126126 */
    127 DECLHIDDEN(bool volatile)   g_frtAtExitCalled = false;
     127DECL_HIDDEN_DATA(bool volatile)   g_frtAtExitCalled = false;
    128128
    129129#ifdef IPRT_WITH_ALIGNMENT_CHECKS
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