Commit 9fd97f34 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

constify

parent 9e3c1a6d
...@@ -74,7 +74,7 @@ static inline msg_bank_t *libvlc_bank (libvlc_int_t *inst) ...@@ -74,7 +74,7 @@ static inline msg_bank_t *libvlc_bank (libvlc_int_t *inst)
/***************************************************************************** /*****************************************************************************
* Local prototypes * 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. * Store all data required by messages interfaces.
...@@ -451,7 +451,7 @@ void msg_GenericVa (vlc_object_t *p_this, int i_type, ...@@ -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. * 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 COL(x,y) "\033[" #x ";" #y "m"
# define RED COL(31,1) # define RED COL(31,1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment