summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/sample_module.c
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2011-01-02 16:31:41 +1100
committerStefan Metzmacher <metze@samba.org>2011-01-03 12:28:21 +0100
commitca47dedaaf635042400d6b7cc720a72ced3e113a (patch)
tree6393b485e3bc1829a533f249ea497ffd045b818b /source4/lib/ldb/tests/sample_module.c
parentd8dfdea2ccc859cccfacd5f52ed9330aa3512970 (diff)
downloadsamba-ca47dedaaf635042400d6b7cc720a72ced3e113a.tar.gz
samba-ca47dedaaf635042400d6b7cc720a72ced3e113a.tar.bz2
samba-ca47dedaaf635042400d6b7cc720a72ced3e113a.zip
s4:ldb: Make sample module implementation static.
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/lib/ldb/tests/sample_module.c')
-rw-r--r--source4/lib/ldb/tests/sample_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/sample_module.c b/source4/lib/ldb/tests/sample_module.c
index 3d95d19c08..bee40a5e80 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;