]> git.sesse.net Git - vlc/commitdiff
VLM: remove leading underscores
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 7 Feb 2010 10:39:14 +0000 (12:39 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 7 Feb 2010 11:33:47 +0000 (13:33 +0200)
include/vlc_vlm.h
src/input/vlm.c
src/libvlccore.sym

index 0ef32ffe20575c813b97c8187d7a8c404c1d2fa8..cb46dbc33d7a73a3e63a5c7140200a40bc955304 100644 (file)
@@ -184,8 +184,8 @@ struct vlm_message_t
 extern "C" {
 #endif
 
-#define vlm_New( a ) __vlm_New( VLC_OBJECT(a) )
-VLC_EXPORT( vlm_t *, __vlm_New, ( vlc_object_t * ) );
+VLC_EXPORT( vlm_t *, vlm_New, ( vlc_object_t * ) );
+#define vlm_New( a ) vlm_New( VLC_OBJECT(a) )
 VLC_EXPORT( void,      vlm_Delete, ( vlm_t * ) );
 VLC_EXPORT( int,       vlm_ExecuteCommand, ( vlm_t *, const char *, vlm_message_t ** ) );
 VLC_EXPORT( int,       vlm_Control, ( vlm_t *p_vlm, int i_query, ... ) );
index 46e01fbc90d4bb34e413adffcedc17e1a90b844c..678332e301b5fca331e5e218d32876c319249540 100644 (file)
@@ -113,12 +113,13 @@ static int InputEvent( vlc_object_t *p_this, char const *psz_cmd,
     return VLC_SUCCESS;
 }
 
+static vlc_mutex_t vlm_mutex = VLC_STATIC_MUTEX;
+
+#undef vlm_New
 /*****************************************************************************
  * vlm_New:
  *****************************************************************************/
-static vlc_mutex_t vlm_mutex = VLC_STATIC_MUTEX;
-
-vlm_t *__vlm_New ( vlc_object_t *p_this )
+vlm_t *vlm_New ( vlc_object_t *p_this )
 {
     vlm_t *p_vlm = NULL, **pp_vlm = &(libvlc_priv (p_this->p_libvlc)->p_vlm);
     char *psz_vlmconf;
index 857a0e5053256a6adf2bcec3e009013d0546633c..61f37d1feb222c93efc1025f0ab1f83d53887573 100644 (file)
@@ -594,7 +594,7 @@ vlm_MessageAdd
 vlm_MessageDelete
 vlm_MessageNew
 vlm_MessageSimpleNew
-__vlm_New
+vlm_New
 __vout_AllocatePicture
 vout_ChromaCmp
 vout_Close