From 931a279f441f6f9c3266d4789e9aa5aed1c16aa8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Aug 2018 11:00:57 +1000 Subject: Cleanup: use static variables --- intern/clog/clog.c | 2 +- intern/ghost/intern/GHOST_TaskbarX11.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/clog/clog.c b/intern/clog/clog.c index 9a80d99fe73..f64e7c19a5f 100644 --- a/intern/clog/clog.c +++ b/intern/clog/clog.c @@ -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) { diff --git a/intern/ghost/intern/GHOST_TaskbarX11.cpp b/intern/ghost/intern/GHOST_TaskbarX11.cpp index 2ef82dc6636..9826ccdfa37 100644 --- a/intern/ghost/intern/GHOST_TaskbarX11.cpp +++ b/intern/ghost/intern/GHOST_TaskbarX11.cpp @@ -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() { -- cgit v1.2.3