Commit b5c9f126 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Make the instance lock static

(it's not distinct from the module bank lock)
parent 89ea9a8d
...@@ -228,7 +228,7 @@ static int VerboseCallback( vlc_object_t *, char const *, ...@@ -228,7 +228,7 @@ static int VerboseCallback( vlc_object_t *, char const *,
static void InitDeviceValues( libvlc_int_t * ); 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 * Allocate a libvlc instance, initialize global data if needed
......
...@@ -45,7 +45,6 @@ void system_End ( libvlc_int_t * ); ...@@ -45,7 +45,6 @@ void system_End ( libvlc_int_t * );
/* /*
* Threads subsystem * 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. */ /* Hopefully, no need to export this. There is a new thread API instead. */
void vlc_thread_cancel (vlc_object_t *); void vlc_thread_cancel (vlc_object_t *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment