From d983ee8800d1213ef9cedad462d076bd7416c27a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Nov 2002 13:57:25 +0000 Subject: Add const to DEBUG() macro. (This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1) --- source3/include/debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/debug.h b/source3/include/debug.h index 4b0b4b1ac4..5f87bf06fd 100644 --- a/source3/include/debug.h +++ b/source3/include/debug.h @@ -36,9 +36,9 @@ arguemnts to DEBUG() right. We have got them wrong too often in the past. */ -int Debug1( char *, ... ) PRINTF_ATTRIBUTE(1,2); -BOOL dbgtext( char *, ... ) PRINTF_ATTRIBUTE(1,2); -BOOL dbghdr( int level, char *file, char *func, int line ); +int Debug1( const char *, ... ) PRINTF_ATTRIBUTE(1,2); +BOOL dbgtext( const char *, ... ) PRINTF_ATTRIBUTE(1,2); +BOOL dbghdr( int level, const char *file, const char *func, int line ); extern XFILE *dbf; extern pstring debugf; -- cgit