From b5c9f12635840804db2df181b733283fc5046ba3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 5 Oct 2008 16:41:00 +0300 Subject: [PATCH] Make the instance lock static (it's not distinct from the module bank lock) --- src/libvlc.c | 2 +- src/libvlc.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libvlc.c b/src/libvlc.c index 00c26adb53..1c15fcbefe 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -228,7 +228,7 @@ static int VerboseCallback( vlc_object_t *, char const *, static void InitDeviceValues( libvlc_int_t * ); -vlc_mutex_t global_lock = VLC_STATIC_MUTEX; +static vlc_mutex_t global_lock = VLC_STATIC_MUTEX; /** * Allocate a libvlc instance, initialize global data if needed diff --git a/src/libvlc.h b/src/libvlc.h index 14b128e953..b0b7ed9853 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -45,7 +45,6 @@ void system_End ( libvlc_int_t * ); /* * Threads subsystem */ -extern vlc_mutex_t global_lock; /* TODO: remove this crap */ /* Hopefully, no need to export this. There is a new thread API instead. */ void vlc_thread_cancel (vlc_object_t *); -- 2.39.2