os: fix some variables not static

This commit is contained in:
Andrew Kelley 2015-09-08 10:03:23 -07:00
parent 749654b922
commit 369ea0f608

View file

@ -121,12 +121,12 @@ struct SoundIoOsCond {
#endif #endif
#if defined(SOUNDIO_OS_WINDOWS) #if defined(SOUNDIO_OS_WINDOWS)
INIT_ONCE win32_init_once = INIT_ONCE_STATIC_INIT; static INIT_ONCE win32_init_once = INIT_ONCE_STATIC_INIT;
static double win32_time_resolution; static double win32_time_resolution;
SYSTEM_INFO win32_system_info; static SYSTEM_INFO win32_system_info;
#else #else
atomic_bool initialized = ATOMIC_VAR_INIT(false); static atomic_bool initialized = ATOMIC_VAR_INIT(false);
pthread_mutex_t init_mutex = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t init_mutex = PTHREAD_MUTEX_INITIALIZER;
#endif #endif
static int page_size; static int page_size;