diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-12 13:10:00 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-12 16:51:03 +1100 |
commit | aee3c190156ed6f644535ab62ffe72b74e611b43 (patch) | |
tree | d24c128b6ac7b15f895c4f310d46e18ebf71b008 | |
parent | 554791c49f9ca8be3c1974918f0e8335e76972d7 (diff) | |
download | samba-aee3c190156ed6f644535ab62ffe72b74e611b43.tar.gz samba-aee3c190156ed6f644535ab62ffe72b74e611b43.tar.bz2 samba-aee3c190156ed6f644535ab62ffe72b74e611b43.zip |
s4:dsdb Make dsdb_read_prefixes_from_ldb static
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 74cf53d8f1..9dd3ce0ccc 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -30,6 +30,8 @@ #include "param/param.h" #include "lib/ldb/include/ldb_module.h" +static WERROR dsdb_read_prefixes_from_ldb(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, uint32_t* num_prefixes, struct dsdb_schema_oid_prefix **prefixes); + struct dsdb_schema *dsdb_new_schema(TALLOC_CTX *mem_ctx, struct smb_iconv_convenience *iconv_convenience) { struct dsdb_schema *schema = talloc_zero(mem_ctx, struct dsdb_schema); @@ -519,7 +521,7 @@ WERROR dsdb_write_prefixes_from_schema_to_ldb(TALLOC_CTX *mem_ctx, struct ldb_co return WERR_OK; } -WERROR dsdb_read_prefixes_from_ldb(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, uint32_t* num_prefixes, struct dsdb_schema_oid_prefix **prefixes) +static WERROR dsdb_read_prefixes_from_ldb(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, uint32_t* num_prefixes, struct dsdb_schema_oid_prefix **prefixes) { struct prefixMapBlob *blob; enum ndr_err_code ndr_err; |