mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Turn some variables to static local variables
This commit is contained in:
parent
74f9c4b88c
commit
4d99fc738e
15
verbosity.c
15
verbosity.c
@ -48,19 +48,13 @@
|
||||
|
||||
#include "verbosity.h"
|
||||
|
||||
#if TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR
|
||||
static aslclient asl_client;
|
||||
static int asl_inited = 0;
|
||||
#endif
|
||||
|
||||
static bool main_verbosity;
|
||||
|
||||
/* If this is non-NULL. RARCH_LOG and friends
|
||||
* will write to this file. */
|
||||
static FILE *log_file;
|
||||
|
||||
bool *retro_main_verbosity(void)
|
||||
{
|
||||
static bool main_verbosity;
|
||||
return &main_verbosity;
|
||||
}
|
||||
|
||||
@ -97,6 +91,13 @@ static bool RARCH_LOG_VERBOSE(void)
|
||||
|
||||
void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
|
||||
{
|
||||
#if TARGET_OS_IPHONE
|
||||
static int asl_inited = 0;
|
||||
#if !TARGET_IPHONE_SIMULATOR
|
||||
static aslclient asl_client;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (!RARCH_LOG_VERBOSE())
|
||||
return;
|
||||
#if TARGET_OS_IPHONE
|
||||
|
Loading…
Reference in New Issue
Block a user