[vlc-devel] commit: Fix function names ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun May 4 13:13:37 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May  4 14:14:22 2008 +0300| [fd84d89ba275385df35ef7de8ea9452182d503c1]

Fix function names

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

 include/vlc_threads_funcs.h |   16 ++--------------
 src/libvlc.sym              |    4 ++--
 2 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/include/vlc_threads_funcs.h b/include/vlc_threads_funcs.h
index dc632e9..b144d75 100644
--- a/include/vlc_threads_funcs.h
+++ b/include/vlc_threads_funcs.h
@@ -39,8 +39,8 @@
 /*****************************************************************************
  * Function definitions
  *****************************************************************************/
-VLC_EXPORT( int,  __vlc_mutex_init,    ( vlc_mutex_t * ) );
-VLC_EXPORT( int,  __vlc_mutex_init_recursive, ( vlc_mutex_t * ) );
+VLC_EXPORT( int,  vlc_mutex_init,    ( vlc_mutex_t * ) );
+VLC_EXPORT( int,  vlc_mutex_init_recursive, ( vlc_mutex_t * ) );
 VLC_EXPORT( void,  __vlc_mutex_destroy, ( const char *, int, vlc_mutex_t * ) );
 VLC_EXPORT( int,  __vlc_cond_init,     ( vlc_cond_t * ) );
 VLC_EXPORT( void,  __vlc_cond_destroy,  ( const char *, int, vlc_cond_t * ) );
@@ -51,18 +51,6 @@ VLC_EXPORT( void, __vlc_thread_ready,  ( vlc_object_t * ) );
 VLC_EXPORT( void, __vlc_thread_join,   ( vlc_object_t *, const char *, int ) );
 
 /*****************************************************************************
- * vlc_mutex_init: initialize a mutex
- *****************************************************************************/
-#define vlc_mutex_init( P_MUTEX )                                   \
-    __vlc_mutex_init( P_MUTEX )
-
-/*****************************************************************************
- * vlc_mutex_init: initialize a recursive mutex (Don't use it)
- *****************************************************************************/
-#define vlc_mutex_init_recursive( P_MUTEX )                         \
-    __vlc_mutex_init_recursive( P_MUTEX )
-
-/*****************************************************************************
  * vlc_mutex_lock: lock a mutex
  *****************************************************************************/
 #define vlc_mutex_lock( P_MUTEX )                                           \
diff --git a/src/libvlc.sym b/src/libvlc.sym
index 4e2f8c1..d11256b 100644
--- a/src/libvlc.sym
+++ b/src/libvlc.sym
@@ -409,8 +409,8 @@ vlc_memset
 vlc_module_create
 vlc_module_set
 __vlc_mutex_destroy
-__vlc_mutex_init
-__vlc_mutex_init_recursive
+vlc_mutex_init
+vlc_mutex_init_recursive
 __vlc_object_alive
 __vlc_object_attach
 __vlc_object_create




More information about the vlc-devel mailing list