summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-11-29 17:59:32 +1100
committerMartin Schwenke <martins@samba.org>2016-12-05 08:09:22 +0100
commite2413a0567ae0952d086ec4f79da43ca4bf6c214 (patch)
treee8a670480cf8226540b13fed39fdeb09ed9e58f5
parentaaeef14ae5bba159f5527b96306f4d818ff91714 (diff)
downloadsamba-e2413a0567ae0952d086ec4f79da43ca4bf6c214.tar.gz
ctdb-logging: Get rid of debug_extra
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
-rw-r--r--ctdb/include/ctdb_private.h2
-rw-r--r--ctdb/server/ctdb_logging.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 8520b8e63de..022c10a4e70 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -670,8 +670,6 @@ struct lock_request *ctdb_lock_db(TALLOC_CTX *mem_ctx,
/* from ctdb_logging.c */
-extern const char *debug_extra;
-
bool ctdb_logging_init(TALLOC_CTX *mem_ctx, const char *logging,
const char *debug_level);
diff --git a/ctdb/server/ctdb_logging.c b/ctdb/server/ctdb_logging.c
index fdf0673308b..4c3706301f0 100644
--- a/ctdb/server/ctdb_logging.c
+++ b/ctdb/server/ctdb_logging.c
@@ -37,8 +37,6 @@
#include "common/common.h"
#include "common/logging.h"
-const char *debug_extra = "";
-
struct ctdb_log_state {
const char *prefix;
int fd, pfd;