1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

debug: Make Debug1 static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke 2014-07-29 12:22:05 +00:00 committed by Michael Adam
parent 15813561cc
commit 6c9be497a3
2 changed files with 1 additions and 2 deletions

View File

@ -767,7 +767,7 @@ void check_log_size( void )
This is called by dbghdr() and format_debug_text().
************************************************************************/
int Debug1( const char *format_str, ... )
static int Debug1( const char *format_str, ... )
{
va_list ap;
int old_errno = errno;

View File

@ -36,7 +36,6 @@
#define MAX_DEBUG_LEVEL 1000
#endif
int Debug1( const char *, ... ) PRINTF_ATTRIBUTE(1,2);
bool dbgtext( const char *, ... ) PRINTF_ATTRIBUTE(1,2);
bool dbghdrclass( int level, int cls, const char *location, const char *func);
bool dbghdr( int level, const char *location, const char *func);