Changeset 3448


Ignore:
Timestamp:
Oct 17, 2007, 6:24:53 PM (14 years ago)
Author:
charles
Message:

const-ify tr_msg()'s input arguments

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r3425 r3448  
    161161}
    162162
    163 void tr_msg( int level, char * msg, ... )
     163void tr_msg( int level, const char * msg, ... )
    164164{
    165165    va_list       args1, args2;
  • trunk/libtransmission/utils.h

    r3425 r3448  
    3636#define tr_inf( a... ) tr_msg( TR_MSG_INF, ## a )
    3737#define tr_dbg( a... ) tr_msg( TR_MSG_DBG, ## a )
    38 void tr_msg  ( int level, char * msg, ... );
     38void tr_msg  ( int level, const char * msg, ... );
    3939FILE* tr_getLog( void );
    4040
Note: See TracChangeset for help on using the changeset viewer.