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).
This commit is contained in:
Bastien Montagne 2017-02-06 17:42:30 +01:00
parent 9e97b00873
commit ac8348d033
1 changed files with 1 additions and 1 deletions

View File

@ -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);