summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:43:26 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commit8b271e4328f788a9a4ca9f9b45cfc0e7adccd9dd (patch)
tree411ad9e8036594a941516a2e2c491d9cd7ca9924 /source4/dsdb/samdb/ldb_modules
parentc104e4ca5436a4c6feab9c40e0286529a8636f7b (diff)
downloadsamba-8b271e4328f788a9a4ca9f9b45cfc0e7adccd9dd.tar.gz
samba-8b271e4328f788a9a4ca9f9b45cfc0e7adccd9dd.tar.bz2
samba-8b271e4328f788a9a4ca9f9b45cfc0e7adccd9dd.zip
source4/dsdb/samdb: Fix prototypes for all functions.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/descriptor.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/ridalloc.c1
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema.c1
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_load.c2
4 files changed, 4 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c
index 7e92c2bdfd..4bcb878785 100644
--- a/source4/dsdb/samdb/ldb_modules/descriptor.c
+++ b/source4/dsdb/samdb/ldb_modules/descriptor.c
@@ -60,7 +60,7 @@ struct descriptor_context {
int (*step_fn)(struct descriptor_context *);
};
-struct dom_sid *get_default_ag(TALLOC_CTX *mem_ctx,
+static struct dom_sid *get_default_ag(TALLOC_CTX *mem_ctx,
struct ldb_dn *dn,
struct security_token *token,
struct ldb_context *ldb)
diff --git a/source4/dsdb/samdb/ldb_modules/ridalloc.c b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index 9e7c0ed780..5051919672 100644
--- a/source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/source4/dsdb/samdb/ldb_modules/ridalloc.c
@@ -34,6 +34,7 @@
#include "lib/messaging/irpc.h"
#include "param/param.h"
#include "librpc/gen_ndr/ndr_misc.h"
+#include "dsdb/samdb/ldb_modules/ridalloc.h"
/*
Note: the RID allocation attributes in AD are very badly named. Here
diff --git a/source4/dsdb/samdb/ldb_modules/schema.c b/source4/dsdb/samdb/ldb_modules/schema.c
index 752e4d10b8..eebe1612ea 100644
--- a/source4/dsdb/samdb/ldb_modules/schema.c
+++ b/source4/dsdb/samdb/ldb_modules/schema.c
@@ -27,6 +27,7 @@
#include "dsdb/samdb/samdb.h"
#include "util.h"
#include "libcli/security/security.h"
+#include "dsdb/samdb/ldb_modules/schema.h"
const struct dsdb_class * get_last_structural_class(const struct dsdb_schema *schema,const struct ldb_message_element *element,
diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c
index 69aa691472..b7b5f6bae7 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_load.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_load.c
@@ -38,7 +38,7 @@ struct schema_load_private_data {
static int dsdb_schema_from_db(struct ldb_module *module, struct ldb_dn *schema_dn, uint64_t current_usn,
struct dsdb_schema **schema);
-struct dsdb_schema *dsdb_schema_refresh(struct ldb_module *module, struct dsdb_schema *schema, bool is_global_schema)
+static struct dsdb_schema *dsdb_schema_refresh(struct ldb_module *module, struct dsdb_schema *schema, bool is_global_schema)
{
uint64_t current_usn;
int ret;