Commit: 931a279f441f6f9c3266d4789e9aa5aed1c16aa8 Author: Campbell Barton Date: Wed Aug 8 11:00:57 2018 +1000 Branches: master https://developer.blender.org/rB931a279f441f6f9c3266d4789e9aa5aed1c16aa8
Cleanup: use static variables =================================================================== M intern/clog/clog.c M intern/ghost/intern/GHOST_TaskbarX11.cpp =================================================================== 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() { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs