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:
parent
8b4b602e1a
commit
d980268680
@ -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);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user