Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-08 04:00:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-08 04:00:57 +0300
commit931a279f441f6f9c3266d4789e9aa5aed1c16aa8 (patch)
tree398655a53273b0a6aad9004fdf12ff4ea1a13f4f
parent4c4aa65adbef3b119fbd1e3e5e8bb17bdef67718 (diff)
Cleanup: use static variables
-rw-r--r--intern/clog/clog.c2
-rw-r--r--intern/ghost/intern/GHOST_TaskbarX11.cpp2
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()
{