Cleanup: use static variables
This commit is contained in:
parent
4c4aa65adb
commit
931a279f44
@ -559,7 +559,7 @@ static void CLG_ctx_free(CLogContext *ctx)
|
||||
* \{ */
|
||||
|
||||
/* We could support multiple at once, for now this seems not needed. */
|
||||
struct CLogContext *g_ctx = NULL;
|
||||
static struct CLogContext *g_ctx = NULL;
|
||||
|
||||
void CLG_init(void)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ static unity_event_loop_t unity_event_loop;
|
||||
|
||||
static bool libunity_initialized = false;
|
||||
static bool libunity_available = false;
|
||||
void* libunity_handle = NULL;
|
||||
static void *libunity_handle = NULL;
|
||||
|
||||
void GHOST_TaskBarX11::free()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user