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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-02-06 19:42:30 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-02-06 19:42:30 +0300
commitac8348d0339148deef6f37c8fba0a6793977093b (patch)
treed776090f3697acb8a1daf7b2f83cdb357f15b30e /source/blender/blenkernel/intern/blender.c
parent9e97b00873ce079178c432febab430f69644f28f (diff)
Fix 'public' global 'g_atexit' var in Blender.
No reason to not make this private to this file, and it gave conflict when using bpy as module and loading it in a GLib application (which also has a g_atexit var).
Diffstat (limited to 'source/blender/blenkernel/intern/blender.c')
-rw-r--r--source/blender/blenkernel/intern/blender.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c
index a8670395fc4..afd60102453 100644
--- a/source/blender/blenkernel/intern/blender.c
+++ b/source/blender/blenkernel/intern/blender.c
@@ -234,7 +234,7 @@ int BKE_blender_test_break(void)
* \note Don't use MEM_mallocN so functions can be registered at any time.
* \{ */
-struct AtExitData {
+static struct AtExitData {
struct AtExitData *next;
void (*func)(void *user_data);