summaryrefslogtreecommitdiff
path: root/ctdb/tcp
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-10-23 14:17:34 +1100
committerMartin Schwenke <martins@samba.org>2015-10-30 02:00:27 +0100
commit46477877732f4fc6a0ed6603ead66d063ca5e5ce (patch)
tree880eb964704c6ff66de0581ee8e65afaff4753db /ctdb/tcp
parentf1b9d8faf86c1b52206bfff7469740f0f9dcd919 (diff)
downloadsamba-46477877732f4fc6a0ed6603ead66d063ca5e5ce.tar.gz
ctdb-daemon: Separate prototypes for common client/server functions
This groups function prototypes for common client/server functions in common/common.h and removes them from ctdb_private.h. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/tcp')
-rw-r--r--ctdb/tcp/tcp_connect.c1
-rw-r--r--ctdb/tcp/tcp_init.c2
-rw-r--r--ctdb/tcp/tcp_io.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c
index 0b18c968e1e..0fee1acb22e 100644
--- a/ctdb/tcp/tcp_connect.c
+++ b/ctdb/tcp/tcp_connect.c
@@ -32,6 +32,7 @@
#include "ctdb_private.h"
#include "common/system.h"
+#include "common/common.h"
#include "ctdb_tcp.h"
diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c
index 02f580277ef..c1791e08813 100644
--- a/ctdb/tcp/tcp_init.c
+++ b/ctdb/tcp/tcp_init.c
@@ -30,6 +30,8 @@
#include "ctdb_logging.h"
#include "ctdb_private.h"
+#include "common/common.h"
+
#include "ctdb_tcp.h"
static int tnode_destructor(struct ctdb_tcp_node *tnode)
diff --git a/ctdb/tcp/tcp_io.c b/ctdb/tcp/tcp_io.c
index 5be8d85e533..210881988ee 100644
--- a/ctdb/tcp/tcp_io.c
+++ b/ctdb/tcp/tcp_io.c
@@ -27,6 +27,8 @@
#include "ctdb_logging.h"
#include "ctdb_private.h"
+#include "common/common.h"
+
#include "ctdb_tcp.h"