From 74c54ed19cf03e8f8b11266163d08f0026228b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= Date: Mon, 17 Jul 2017 17:03:24 +0200 Subject: [PATCH 17/18] Remove thread local --- src/misc/interrupt.c | 2 +- src/misc/variables.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/interrupt.c b/src/misc/interrupt.c index 3fafaa4183..02e1049c4b 100644 --- a/src/misc/interrupt.c +++ b/src/misc/interrupt.c @@ -43,7 +43,7 @@ #include "interrupt.h" #include "libvlc.h" -static thread_local vlc_interrupt_t *vlc_interrupt_var; +static vlc_interrupt_t *vlc_interrupt_var; /** * Initializes an interruption context. diff --git a/src/misc/variables.c b/src/misc/variables.c index d441684c06..c1544836b2 100644 --- a/src/misc/variables.c +++ b/src/misc/variables.c @@ -1378,7 +1378,7 @@ void DumpVariables(vlc_object_t *obj) vlc_mutex_unlock(&vlc_internals(obj)->var_lock); } -static thread_local void *twalk_ctx; +static vlc_threadvar_t *twalk_ctx; static void TwalkGetNames(const void *data, const VISIT which, const int depth) { -- 2.13.2