From e7eac0e391c2d8b79fe0601db2c5d14fbfbb308e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 29 Oct 2010 15:00:01 +1100 Subject: lib/util Remove setup_logging_stdout() This API is no longer required now that we don't attempt to build ndrdump with the s3 build system, and because the s3 debug system will soon have the same setup_logging() API. Andrew Bartlett --- lib/util/debug.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/util/debug.c') diff --git a/lib/util/debug.c b/lib/util/debug.c index c8a22149a2..055dfbb12e 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -37,7 +37,6 @@ static int debug_all_class_hack = 1; int *DEBUGLEVEL_CLASS = &debug_all_class_hack; /* For samba 3 */ static bool debug_all_class_isset_hack = true; bool *DEBUGLEVEL_CLASS_ISSET = &debug_all_class_isset_hack; /* For samba 3 */ -XFILE *dbf = NULL; /* For Samba 3*/ /* the registered mutex handlers */ static struct { @@ -209,14 +208,6 @@ _PUBLIC_ void setup_logging(const char *prog_name, enum debug_logtype new_logtyp reopen_logs(); } -/** - Just run logging to stdout for this program -*/ -_PUBLIC_ void setup_logging_stdout(void) -{ - setup_logging(NULL, DEBUG_STDOUT); -} - /** return a string constant containing n tabs no more than 10 tabs are returned -- cgit