[vlc-devel] commit: Unexport vlc_object_dump ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Aug 31 16:04:54 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Aug 31 17:07:48 2008 +0300| [01dde3951682fb51e460af99c674411abb63e5ea] | committer: Rémi Denis-Courmont
Unexport vlc_object_dump
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01dde3951682fb51e460af99c674411abb63e5ea
---
include/vlc_objects.h | 7 -------
src/libvlccore.sym | 1 -
src/misc/objects.c | 3 ++-
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index d8e0978..7e8a61c 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -92,9 +92,6 @@ VLC_EXPORT( vlc_list_t *, __vlc_list_find, ( vlc_object_t *, int, int ) );
VLC_EXPORT( vlc_list_t *, __vlc_list_children, ( vlc_object_t * ) );
VLC_EXPORT( void, vlc_list_release, ( vlc_list_t * ) );
-/* __vlc_object_dump */
-VLC_EXPORT( void, __vlc_object_dump, ( vlc_object_t *p_this ) );
-
/*}@*/
#define vlc_object_create(a,b) \
@@ -127,10 +124,6 @@ VLC_EXPORT( void, __vlc_object_dump, ( vlc_object_t *p_this ) );
#define vlc_list_children(a) \
__vlc_list_children( VLC_OBJECT(a) )
-#define vlc_object_dump(a) \
- __vlc_object_dump( VLC_OBJECT(a))
-
-
/* Objects and threading */
VLC_EXPORT( void, __vlc_object_lock, ( vlc_object_t * ) );
#define vlc_object_lock( obj ) \
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index f2bb726..c8e017b 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -466,7 +466,6 @@ vlc_mutex_init_recursive
__vlc_object_attach
__vlc_object_create
__vlc_object_detach
-__vlc_object_dump
__vlc_object_find
__vlc_object_find_name
vlc_object_get
diff --git a/src/misc/objects.c b/src/misc/objects.c
index 20deed4..c6da6c1 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -83,6 +83,7 @@ static void ListChildren ( vlc_list_t *, vlc_object_t *, int );
static void vlc_object_destroy( vlc_object_t *p_this );
static void vlc_object_detach_unlocked (vlc_object_t *p_this);
+static void vlc_object_dump( vlc_object_t *p_this )
/*****************************************************************************
* Local structure lock
@@ -1099,7 +1100,7 @@ void vlc_list_release( vlc_list_t *p_list )
/*****************************************************************************
* dump an object. (Debug function)
*****************************************************************************/
-void __vlc_object_dump( vlc_object_t *p_this )
+static void vlc_object_dump( vlc_object_t *p_this )
{
char psz_foo[2 * MAX_DUMPSTRUCTURE_DEPTH + 1];
psz_foo[0] = '|';
More information about the vlc-devel
mailing list