diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-08 04:00:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-08 04:00:57 +0300 |
commit | 931a279f441f6f9c3266d4789e9aa5aed1c16aa8 (patch) | |
tree | 398655a53273b0a6aad9004fdf12ff4ea1a13f4f /intern | |
parent | 4c4aa65adbef3b119fbd1e3e5e8bb17bdef67718 (diff) |
Cleanup: use static variables
Diffstat (limited to 'intern')
-rw-r--r-- | intern/clog/clog.c | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_TaskbarX11.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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() { |