1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3: Make connections_fetch_record() static

This commit is contained in:
Volker Lendecke 2010-02-24 15:38:06 +01:00
parent 8b4b602e1a
commit d980268680
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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);