diff --git a/vfs/ChangeLog b/vfs/ChangeLog index f7afe3020..6e6a191ee 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2005-05-11 Pavel Roskin + + * samba/lib/debug.c (dbghdr): Constify arguments file and func. + 2005-05-10 Pavel Roskin * utilvfs.c: Fix gcc 4.0 warnings. diff --git a/vfs/samba/include/proto.h b/vfs/samba/include/proto.h index 653e828b0..9770501e8 100644 --- a/vfs/samba/include/proto.h +++ b/vfs/samba/include/proto.h @@ -18,7 +18,7 @@ void add_char_string(char *s); void setup_logging( char *pname, BOOL interactive ); void dbgflush( void ); -BOOL dbghdr( int level, char *file, char *func, int line ); +BOOL dbghdr( int level, const char *file, const char *func, int line ); /* The following definitions come from lib/interface.c */ diff --git a/vfs/samba/lib/debug.c b/vfs/samba/lib/debug.c index 3493181c0..628435a0a 100644 --- a/vfs/samba/lib/debug.c +++ b/vfs/samba/lib/debug.c @@ -300,7 +300,7 @@ void dbgflush( void ) * * ************************************************************************** ** */ -BOOL dbghdr( int level, char *file, char *func, int line ) +BOOL dbghdr( int level, const char *file, const char *func, int line ) { if( format_pos ) {