Cleanup: use static variables

This commit is contained in:
Campbell Barton 2018-08-08 11:00:57 +10:00
parent 4c4aa65adb
commit 931a279f44
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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()
{