From d980268680dd34c461467a1da835de099dafa191 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 24 Feb 2010 15:38:06 +0100 Subject: s3: Make connections_fetch_record() static --- source3/include/proto.h | 2 -- source3/lib/conn_tdb.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index be932a960d..3af9cb053e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -420,8 +420,6 @@ void clobber_region(const char *fn, unsigned int line, char *dest, size_t len); /* The following definitions come from lib/conn_tdb.c */ -struct db_record *connections_fetch_record(TALLOC_CTX *mem_ctx, - TDB_DATA key); struct db_record *connections_fetch_entry(TALLOC_CTX *mem_ctx, connection_struct *conn, const char *name); diff --git a/source3/lib/conn_tdb.c b/source3/lib/conn_tdb.c index fc35361cac..a10734bed5 100644 --- a/source3/lib/conn_tdb.c +++ b/source3/lib/conn_tdb.c @@ -40,8 +40,8 @@ static struct db_context *connections_db_ctx(bool rw) return db_ctx; } -struct db_record *connections_fetch_record(TALLOC_CTX *mem_ctx, - TDB_DATA key) +static struct db_record *connections_fetch_record(TALLOC_CTX *mem_ctx, + TDB_DATA key) { struct db_context *ctx = connections_db_ctx(True); -- cgit