[vlc-commits] constify
Rémi Denis-Courmont
git at videolan.org
Wed May 11 18:54:34 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 11 18:01:04 2011 +0300| [9fd97f34d8ff4ad46cf61309b9e0f9c549f39c81] | committer: Rémi Denis-Courmont
constify
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fd97f34d8ff4ad46cf61309b9e0f9c549f39c81
---
src/misc/messages.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 8ef3857..f7f25b3 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -74,7 +74,7 @@ static inline msg_bank_t *libvlc_bank (libvlc_int_t *inst)
/*****************************************************************************
* Local prototypes
*****************************************************************************/
-static void PrintMsg ( vlc_object_t *, msg_item_t * );
+static void PrintMsg ( vlc_object_t *, const msg_item_t * );
/**
* Store all data required by messages interfaces.
@@ -451,7 +451,7 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type,
*****************************************************************************
* Print a message to stderr, with colour formatting if needed.
*****************************************************************************/
-static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item )
+static void PrintMsg ( vlc_object_t *p_this, const msg_item_t *p_item )
{
# define COL(x,y) "\033[" #x ";" #y "m"
# define RED COL(31,1)
More information about the vlc-commits
mailing list