Remove vlc_object_signal and unexport vlc_object_signal_unlocked
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 5 Jan 2009 21:11:08 +0000 (23:11 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 5 Jan 2009 21:11:08 +0000 (23:11 +0200)
include/vlc_objects.h
src/libvlc.h
src/libvlccore.sym

index a034a6b..f188dff 100644 (file)
@@ -135,19 +135,6 @@ VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) );
 #define vlc_object_wait( obj ) \
     __vlc_object_wait( VLC_OBJECT( obj ) )
 
-VLC_EXPORT( void, __vlc_object_signal_unlocked, ( vlc_object_t * ) );
-#define vlc_object_signal_unlocked( obj ) \
-    __vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
-
-static inline void __vlc_object_signal( vlc_object_t *obj )
-{
-    vlc_object_lock( obj );
-    vlc_object_signal_unlocked( obj );
-    vlc_object_unlock( obj );
-}
-#define vlc_object_signal( obj ) \
-    __vlc_object_signal( VLC_OBJECT( obj ) )
-
 VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
 #define vlc_object_kill(a) \
     __vlc_object_kill( VLC_OBJECT(a) )
index eadc1fa..32218d8 100644 (file)
@@ -49,6 +49,9 @@ void system_End       ( libvlc_int_t * );
 /* Hopefully, no need to export this. There is a new thread API instead. */
 void vlc_thread_cancel (vlc_object_t *);
 int vlc_object_waitpipe (vlc_object_t *obj);
+void __vlc_object_signal_unlocked (vlc_object_t *);
+#define vlc_object_signal_unlocked( obj ) \
+    __vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
 
 void vlc_trace (const char *fn, const char *file, unsigned line);
 #define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
index da68fb3..74731fc 100644 (file)
@@ -491,7 +491,6 @@ __vlc_object_kill
 __vlc_object_lock
 __vlc_object_release
 __vlc_object_set_destructor
-__vlc_object_signal_unlocked
 __vlc_object_unlock
 __vlc_object_wait
 vlc_poll