[vlc-commits] Privatize vlc_object_kill()

Rémi Denis-Courmont git at videolan.org
Wed May 9 19:12:15 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May  9 20:11:38 2012 +0300| [dfa6e4cee2280e4ed980caea6b850bd81511af1d] | committer: Rémi Denis-Courmont

Privatize vlc_object_kill()

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

 include/vlc_objects.h |    4 ----
 src/libvlc.h          |    2 ++
 src/libvlccore.sym    |    1 -
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 06ac2bb..8489aaf 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -73,10 +73,6 @@ VLC_API char *vlc_object_get_name( const vlc_object_t * ) VLC_USED;
     vlc_list_children( VLC_OBJECT(a) )
 
 /* Objects and threading */
-VLC_API void vlc_object_kill( vlc_object_t * ) VLC_DEPRECATED;
-#define vlc_object_kill(a) \
-    vlc_object_kill( VLC_OBJECT(a) )
-
 VLC_USED VLC_DEPRECATED
 static inline bool vlc_object_alive (const vlc_object_t *obj)
 {
diff --git a/src/libvlc.h b/src/libvlc.h
index f8a3f4e..7ba6734 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -54,6 +54,8 @@ void vlc_CPU_dump(vlc_object_t *);
 int vlc_clone_detach (vlc_thread_t *, void *(*)(void *), void *, int);
 
 int vlc_object_waitpipe (vlc_object_t *obj);
+void vlc_object_kill (vlc_object_t *) VLC_DEPRECATED;
+#define vlc_object_kill(o) vlc_object_kill(VLC_OBJECT(o))
 
 int vlc_set_priority( vlc_thread_t, int );
 
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index faa6182..5d35457 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -561,7 +561,6 @@ vlc_global_mutex
 vlc_object_create
 vlc_object_find_name
 vlc_object_hold
-vlc_object_kill
 vlc_object_release
 vlc_object_get_name
 vlc_rand_bytes



More information about the vlc-commits mailing list