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:
parent
15813561cc
commit
6c9be497a3
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user