s4:ldb: Make sample module implementation static.
authorBrad Hards <bradh@frogmouth.net>
Sun, 2 Jan 2011 05:31:41 +0000 (16:31 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 3 Jan 2011 11:28:21 +0000 (12:28 +0100)
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

source4/lib/ldb/tests/sample_module.c

index 3d95d19c085d3cf0e0d9b3f03de7e03f8e36ca72..bee40a5e80fc105447010631e03c981c486672af 100644 (file)
@@ -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;