[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Feb 24 08:11:46 MST 2010


The branch, master has been updated
       via  d980268... s3: Make connections_fetch_record() static
      from  8b4b602... python: ntacls, fix a leftover that is not in the try/except branch

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d980268680dd34c461467a1da835de099dafa191
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Feb 24 15:38:06 2010 +0100

    s3: Make connections_fetch_record() static

-----------------------------------------------------------------------

Summary of changes:
 source3/include/proto.h |    2 --
 source3/lib/conn_tdb.c  |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/proto.h b/source3/include/proto.h
index be932a9..3af9cb0 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 fc35361..a10734b 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);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list