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