summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-31 16:11:10 +0200
committerVolker Lendecke <vl@samba.org>2010-08-31 17:07:41 +0200
commit301bf22eab92999bc4b0f2d733830618b8b9d428 (patch)
treed22b5f5de6c3412e34262edf321ffc7854d2c310 /source3
parent079baa76884a90740051f8dd0408eea4404adce8 (diff)
downloadsamba-301bf22eab92999bc4b0f2d733830618b8b9d428.tar.gz
samba-301bf22eab92999bc4b0f2d733830618b8b9d428.tar.bz2
samba-301bf22eab92999bc4b0f2d733830618b8b9d428.zip
s3: Make ctdbd_init_connection static
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ctdbd_conn.h2
-rw-r--r--source3/lib/ctdbd_conn.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h
index c5ba5724cd..80cf717499 100644
--- a/source3/include/ctdbd_conn.h
+++ b/source3/include/ctdbd_conn.h
@@ -22,8 +22,6 @@
struct ctdbd_connection;
-NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
- struct ctdbd_connection **pconn);
NTSTATUS ctdbd_messaging_connection(TALLOC_CTX *mem_ctx,
struct ctdbd_connection **pconn);
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 8dba3b2d77..afc13f20c5 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -433,8 +433,8 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
* Get us a ctdbd connection
*/
-NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
- struct ctdbd_connection **pconn)
+static NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
+ struct ctdbd_connection **pconn)
{
struct ctdbd_connection *conn;
NTSTATUS status;