[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Mon Jan 3 04:29:01 MST 2011
The branch, master has been updated
via ca47ded s4:ldb: Make sample module implementation static.
via d8dfdea s4:ldb: Add prototype header.
from 10b1ed6 talloc: Fix warnings in test code
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit ca47dedaaf635042400d6b7cc720a72ced3e113a
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Jan 2 16:31:41 2011 +1100
s4:ldb: Make sample module implementation static.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
commit d8dfdea2ccc859cccfacd5f52ed9330aa3512970
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Jan 2 16:20:35 2011 +1100
s4:ldb: Add prototype header.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source4/lib/ldb/tests/sample_module.c | 4 ++--
source4/lib/ldb/tools/ldbutil.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/lib/ldb/tests/sample_module.c b/source4/lib/ldb/tests/sample_module.c
index 3d95d19..bee40a5 100644
--- a/source4/lib/ldb/tests/sample_module.c
+++ b/source4/lib/ldb/tests/sample_module.c
@@ -26,7 +26,7 @@
#include "system/time.h"
#include "ldb_module.h"
-int sample_add(struct ldb_module *mod, struct ldb_request *req)
+static int sample_add(struct ldb_module *mod, struct ldb_request *req)
{
struct ldb_control *control;
@@ -42,7 +42,7 @@ int sample_add(struct ldb_module *mod, struct ldb_request *req)
}
}
-int sample_modify(struct ldb_module *mod, struct ldb_request *req)
+static int sample_modify(struct ldb_module *mod, struct ldb_request *req)
{
struct ldb_control *control;
diff --git a/source4/lib/ldb/tools/ldbutil.c b/source4/lib/ldb/tools/ldbutil.c
index c9130b1..26f2527 100644
--- a/source4/lib/ldb/tools/ldbutil.c
+++ b/source4/lib/ldb/tools/ldbutil.c
@@ -31,6 +31,8 @@
#include "ldb.h"
#include "ldb_module.h"
+#include "ldbutil.h"
+
/* autostarts a transacion if none active */
static int ldb_do_autotransaction(struct ldb_context *ldb,
--
Samba Shared Repository
More information about the samba-cvs
mailing list