VirtualBox

Changeset 36549 in vbox for trunk


Ignore:
Timestamp:
Apr 5, 2011 9:28:24 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70979
Message:

IPRT: hide stuff...

Location:
trunk/src/VBox/Runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/process.h

    r36363 r36549  
    3333RT_C_DECLS_BEGIN
    3434
    35 extern RTPROCESS        g_ProcessSelf;
    36 extern RTPROCPRIORITY   g_enmProcessPriority;
    37 extern char             g_szrtProcExePath[RTPATH_MAX];
    38 extern size_t           g_cchrtProcExePath;
    39 extern size_t           g_cchrtProcDir;
    40 extern size_t           g_offrtProcName;
    41 extern bool volatile    g_frtAtExitCalled;
     35extern DECLHIDDEN(RTPROCESS)        g_ProcessSelf;
     36extern DECLHIDDEN(RTPROCPRIORITY)   g_enmProcessPriority;
     37extern DECLHIDDEN(char)             g_szrtProcExePath[RTPATH_MAX];
     38extern DECLHIDDEN(size_t)           g_cchrtProcExePath;
     39extern DECLHIDDEN(size_t)           g_cchrtProcDir;
     40extern DECLHIDDEN(size_t)           g_offrtProcName;
     41extern DECLHIDDEN(bool volatile)    g_frtAtExitCalled;
    4242
    4343/**
  • trunk/src/VBox/Runtime/include/internal/time.h

    r28800 r36549  
    55
    66/*
    7  * Copyright (C) 2006-2007 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3434#if defined(IN_RING3) || defined(IN_RC)
    3535
    36 extern uint64_t g_u64ProgramStartNanoTS;
    37 extern uint64_t g_u64ProgramStartMicroTS;
    38 extern uint64_t g_u64ProgramStartMilliTS;
     36extern DECLHIDDEN(uint64_t) g_u64ProgramStartNanoTS;
     37extern DECLHIDDEN(uint64_t) g_u64ProgramStartMicroTS;
     38extern DECLHIDDEN(uint64_t) g_u64ProgramStartMilliTS;
    3939
    4040#endif
  • trunk/src/VBox/Runtime/r3/init.cpp

    r36363 r36549  
    7575*******************************************************************************/
    7676/** The number of calls to RTR3Init. */
    77 static int32_t volatile g_cUsers = 0;
     77static int32_t volatile     g_cUsers = 0;
    7878/** Whether we're currently initializing the IPRT. */
    79 static bool volatile    g_fInitializing = false;
     79static bool volatile        g_fInitializing = false;
    8080
    8181/** The process path.
    8282 * This is used by RTPathExecDir and RTProcGetExecutablePath and set by rtProcInitName. */
    83 char        g_szrtProcExePath[RTPATH_MAX];
     83DECLHIDDEN(char)            g_szrtProcExePath[RTPATH_MAX];
    8484/** The length of g_szrtProcExePath. */
    85 size_t      g_cchrtProcExePath;
     85DECLHIDDEN(size_t)          g_cchrtProcExePath;
    8686/** The length of directory path component of g_szrtProcExePath. */
    87 size_t      g_cchrtProcDir;
     87DECLHIDDEN(size_t)          g_cchrtProcDir;
    8888/** The offset of the process name into g_szrtProcExePath. */
    89 size_t      g_offrtProcName;
     89DECLHIDDEN(size_t)          g_offrtProcName;
    9090
    9191/**
    9292 * Program start nanosecond TS.
    9393 */
    94 uint64_t    g_u64ProgramStartNanoTS;
     94DECLHIDDEN(uint64_t)        g_u64ProgramStartNanoTS;
    9595
    9696/**
    9797 * Program start microsecond TS.
    9898 */
    99 uint64_t    g_u64ProgramStartMicroTS;
     99DECLHIDDEN(uint64_t)        g_u64ProgramStartMicroTS;
    100100
    101101/**
    102102 * Program start millisecond TS.
    103103 */
    104 uint64_t    g_u64ProgramStartMilliTS;
     104DECLHIDDEN(uint64_t)        g_u64ProgramStartMilliTS;
    105105
    106106/**
    107107 * The process identifier of the running process.
    108108 */
    109 RTPROCESS   g_ProcessSelf = NIL_RTPROCESS;
     109DECLHIDDEN(RTPROCESS)       g_ProcessSelf = NIL_RTPROCESS;
    110110
    111111/**
    112112 * The current process priority.
    113113 */
    114 RTPROCPRIORITY g_enmProcessPriority = RTPROCPRIORITY_DEFAULT;
    115 
    116 /**
    117  * Set if the atexit callback has been called, i.e. indicating 
    118  * that the process is terminating. 
    119  */
    120 bool volatile   g_frtAtExitCalled = false;
     114DECLHIDDEN(RTPROCPRIORITY) g_enmProcessPriority = RTPROCPRIORITY_DEFAULT;
     115
     116/**
     117 * Set if the atexit callback has been called, i.e. indicating
     118 * that the process is terminating.
     119 */
     120DECLHIDDEN(bool volatile)   g_frtAtExitCalled = false;
    121121
    122122#ifdef IPRT_WITH_ALIGNMENT_CHECKS
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