]> git.sesse.net Git - vlc/commitdiff
Make the instance lock static
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 13:41:00 +0000 (16:41 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 13:43:38 +0000 (16:43 +0300)
(it's not distinct from the module bank lock)

src/libvlc.c
src/libvlc.h

index 00c26adb53607a8703f4bd5ecd55ca1d61d28d7c..1c15fcbefe0ff91acf2818adc70685499ce3675f 100644 (file)
@@ -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
index 14b128e9530e5355d318052d105f37da8d8dffa1..b0b7ed985313d7437ccaf50db05bad288467e20e 100644 (file)
@@ -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 *);