summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);