* samba/lib/debug.c (dbghdr): Constify arguments file and func.

This commit is contained in:
Pavel Roskin 2005-05-11 19:54:59 +00:00
parent efcd09ed48
commit b3bc70e73a
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-05-11 Pavel Roskin <proski@gnu.org>
* samba/lib/debug.c (dbghdr): Constify arguments file and func.
2005-05-10 Pavel Roskin <proski@gnu.org>
* utilvfs.c: Fix gcc 4.0 warnings.

View File

@ -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 */

View File

@ -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 )
{