summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-24 15:38:06 +0100
committerVolker Lendecke <vl@samba.org>2010-02-24 16:11:03 +0100
commitd980268680dd34c461467a1da835de099dafa191 (patch)
treee28497e80bc05e3873c1fac11615f51c81287535 /source3
parent8b4b602e1ac181521442c2bcea7877ee7488fa97 (diff)
downloadsamba-d980268680dd34c461467a1da835de099dafa191.tar.gz
samba-d980268680dd34c461467a1da835de099dafa191.tar.bz2
samba-d980268680dd34c461467a1da835de099dafa191.zip
s3: Make connections_fetch_record() static
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/lib/conn_tdb.c4
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);