[vlc-devel] commit: Remove dead functions ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Oct 12 18:12:29 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct 12 19:12:09 2008 +0300| [28b9113747582b3e34454c1d8ec150dfec7a624c] | committer: Rémi Denis-Courmont
Remove dead functions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28b9113747582b3e34454c1d8ec150dfec7a624c
---
include/vlc_messages.h | 4 ----
src/libvlccore.sym | 4 ----
src/misc/messages.c | 29 -----------------------------
3 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/include/vlc_messages.h b/include/vlc_messages.h
index 92b57d4..b755b89 100644
--- a/include/vlc_messages.h
+++ b/include/vlc_messages.h
@@ -86,10 +86,6 @@ struct msg_subscription_t
VLC_EXPORT( void, __msg_Generic, ( vlc_object_t *, int, const char *, const char *, ... ) LIBVLC_FORMAT( 4, 5 ) );
VLC_EXPORT( void, __msg_GenericVa, ( vlc_object_t *, int, const char *, const char *, va_list args ) );
#define msg_GenericVa(a, b, c, d, e) __msg_GenericVa(VLC_OBJECT(a), b, c, d, e)
-VLC_EXPORT( void, __msg_Info, ( vlc_object_t *, const char *, ... ) LIBVLC_FORMAT( 2, 3 ) );
-VLC_EXPORT( void, __msg_Err, ( vlc_object_t *, const char *, ... ) LIBVLC_FORMAT( 2, 3 ) );
-VLC_EXPORT( void, __msg_Warn, ( vlc_object_t *, const char *, ... ) LIBVLC_FORMAT( 2, 3 ) );
-VLC_EXPORT( void, __msg_Dbg, ( vlc_object_t *, const char *, ... ) LIBVLC_FORMAT( 2, 3 ) );
#define msg_Info( p_this, ... ) \
__msg_Generic( VLC_OBJECT(p_this), VLC_MSG_INFO, \
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 4144582..2da80b6 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -219,16 +219,12 @@ __module_need
module_provides
module_release
__module_unneed
-__msg_Dbg
__msg_DisableObjectPrinting
__msg_EnableObjectPrinting
-__msg_Err
__msg_Generic
__msg_GenericVa
-__msg_Info
__msg_Subscribe
__msg_Unsubscribe
-__msg_Warn
msleep
mstrtime
mwait
diff --git a/src/misc/messages.c b/src/misc/messages.c
index cc1fd3c..f3306f2 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -254,35 +254,6 @@ void __msg_GenericVa( vlc_object_t *p_this, int i_type, const char *psz_module,
QueueMsg( p_this, i_type, psz_module, psz_format, args );
}
-/* Generic functions used when variadic macros are not available. */
-#define DECLARE_MSG_FN( FN_NAME, FN_TYPE ) \
- void FN_NAME( vlc_object_t *p_this, const char *psz_format, ... ) \
- { \
- va_list args; \
- va_start( args, psz_format ); \
- QueueMsg( p_this, FN_TYPE, "unknown", psz_format, args ); \
- va_end( args ); \
- } \
- struct _
-/**
- * Output an informational message.
- * \note Do not use this for debug messages
- * \see input_AddInfo
- */
-DECLARE_MSG_FN( __msg_Info, VLC_MSG_INFO );
-/**
- * Output an error message.
- */
-DECLARE_MSG_FN( __msg_Err, VLC_MSG_ERR );
-/**
- * Output a waring message
- */
-DECLARE_MSG_FN( __msg_Warn, VLC_MSG_WARN );
-/**
- * Output a debug message
- */
-DECLARE_MSG_FN( __msg_Dbg, VLC_MSG_DBG );
-
/**
* Add a message to a queue
*
More information about the vlc-devel
mailing list