From 301bf22eab92999bc4b0f2d733830618b8b9d428 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 31 Aug 2010 16:11:10 +0200 Subject: s3: Make ctdbd_init_connection static --- source3/include/ctdbd_conn.h | 2 -- source3/lib/ctdbd_conn.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'source3') 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; -- cgit