diff options
| author | Andre Weissflog <floooh@gmail.com> | 2017-11-28 20:06:53 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2017-11-28 20:06:53 +0100 |
| commit | 5ee95084f220a4f5ea4985e591e7ac29ff834de7 (patch) | |
| tree | 76f28aeb4131fb0f018bf1292bc874db201dd209 /sokol_time.h | |
| parent | a2e2483940fcec4ee20f71b1daa43bae664a7d1d (diff) | |
sokol_time: make all globals static
Diffstat (limited to 'sokol_time.h')
| -rw-r--r-- | sokol_time.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sokol_time.h b/sokol_time.h index 1de75117..5b054e52 100644 --- a/sokol_time.h +++ b/sokol_time.h @@ -106,15 +106,15 @@ static int _stm_initialized; #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> -LARGE_INTEGER _stm_win_freq; -LARGE_INTEGER _stm_win_start; +static LARGE_INTEGER _stm_win_freq; +static LARGE_INTEGER _stm_win_start; #elif defined(__APPLE__) && defined(__MACH__) #include <mach/mach_time.h> -mach_timebase_info_data_t _stm_osx_timebase; -uint64_t _stm_osx_start; +static mach_timebase_info_data_t _stm_osx_timebase; +static uint64_t _stm_osx_start; #else /* anything else, this will need more care for non-Linux platforms */ #include <time.h> -uint64_t _stm_posix_start; +static uint64_t _stm_posix_start; #endif void stm_setup() { |