summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-04-18 10:36:05 +1000
committerMartin Schwenke <martins@samba.org>2018-05-01 13:31:19 +0200
commit4eea531416ab0516f82bffa4f35345d8d0785d36 (patch)
tree540f8c04ce934c447c130389008618c5443bf12e /ctdb/include
parentf4fe768ca3518873b24e74ba4857c870fac1e46d (diff)
downloadsamba-4eea531416ab0516f82bffa4f35345d8d0785d36.tar.gz
ctdb-daemon: Move ctdb_init() to the only place it is used
This used to be used by client code but not anymore, so move it to where it is used. Drop the comment because it is wrong. Modernise logging. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_client.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ctdb/include/ctdb_client.h b/ctdb/include/ctdb_client.h
index e7f74192745..323df7f7474 100644
--- a/ctdb/include/ctdb_client.h
+++ b/ctdb/include/ctdb_client.h
@@ -239,11 +239,6 @@ int ctdb_ctrl_get_all_tunables(struct ctdb_context *ctdb,
struct ctdb_tunable_list *tunables);
/*
- initialise ctdb subsystem
-*/
-struct ctdb_context *ctdb_init(struct tevent_context *ev);
-
-/*
set some flags
*/
void ctdb_set_flags(struct ctdb_context *ctdb, unsigned flags);