[vlc-devel] commit: Kill unused vlc_object_assert_locked ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Mar 4 22:42:02 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  4 23:27:08 2009 +0200| [46962c8e477b06b8c3b9a316390c3840c8da5c54] | committer: Rémi Denis-Courmont 

Kill unused vlc_object_assert_locked

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46962c8e477b06b8c3b9a316390c3840c8da5c54
---

 include/vlc_objects.h |    4 ----
 src/libvlccore.sym    |    1 -
 src/misc/objects.c    |    4 ----
 3 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 1513298..9fa9a95 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -119,10 +119,6 @@ VLC_EXPORT( void, __vlc_object_unlock, ( vlc_object_t * ) );
 #define vlc_object_unlock( obj ) \
     __vlc_object_unlock( VLC_OBJECT( obj ) )
 
-VLC_EXPORT( void, __vlc_object_assert_locked, ( vlc_object_t * ) );
-#define vlc_object_assert_locked( obj ) \
-    __vlc_object_assert_locked( VLC_OBJECT( obj ) )
-
 VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
 #define vlc_object_kill(a) \
     __vlc_object_kill( VLC_OBJECT(a) )
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 1cd3ee4..fe57733 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -460,7 +460,6 @@ vlc_mutex_init
 vlc_mutex_init_recursive
 vlc_mutex_lock
 vlc_mutex_unlock
-__vlc_object_assert_locked
 __vlc_object_attach
 __vlc_object_create
 __vlc_object_detach
diff --git a/src/misc/objects.c b/src/misc/objects.c
index 1795c3e..828903e 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -316,10 +316,6 @@ void __vlc_object_unlock( vlc_object_t *obj )
     vlc_assert_locked( &(vlc_internals(obj)->lock) );
     vlc_mutex_unlock( &(vlc_internals(obj)->lock) );
 }
-void __vlc_object_assert_locked( vlc_object_t *obj )
-{
-    vlc_assert_locked( &(vlc_internals(obj)->lock) );
-}
 
 #ifdef WIN32
 # include <winsock2.h>




More information about the vlc-devel mailing list