1
1

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

Этот коммит содержится в:
Pavel Roskin 2005-05-11 19:54:59 +00:00
родитель efcd09ed48
Коммит b3bc70e73a
3 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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.

Просмотреть файл

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

Просмотреть файл

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