s4-dsdb: Make dsdb_setup_sorted_accessors() public
authorKamen Mazdrashki <kamenim@samba.org>
Thu, 23 Sep 2010 21:46:50 +0000 (00:46 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Sun, 10 Oct 2010 09:58:32 +0000 (12:58 +0300)
We are going to need it while converting DRS schema.

source4/dsdb/schema/schema_set.c

index 344e9bb67736b3a3fe9321d8f767a6aaad176f8e..4a4466af3485b3352cad020f1117cf462f459179 100644 (file)
@@ -264,8 +264,8 @@ static void dsdb_sorted_accessors_free(struct dsdb_schema *schema)
 /*
   create the sorted accessor arrays for the schema
  */
-static int dsdb_setup_sorted_accessors(struct ldb_context *ldb,
-                                      struct dsdb_schema *schema)
+int dsdb_setup_sorted_accessors(struct ldb_context *ldb,
+                               struct dsdb_schema *schema)
 {
        struct dsdb_class *cur;
        struct dsdb_attribute *a;