summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-08-24 13:15:31 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-08-24 20:24:18 +1000
commitb4e8d927cd91b2fc1221d9834715153c7487b715 (patch)
tree78686eaad880d90c718b94de862c164563617a7c
parentbf54b419ae4f2f87afba1ba1e83c97b05b18c9b0 (diff)
downloadsamba-b4e8d927cd91b2fc1221d9834715153c7487b715.tar.gz
samba-b4e8d927cd91b2fc1221d9834715153c7487b715.tar.bz2
samba-b4e8d927cd91b2fc1221d9834715153c7487b715.zip
s4:dsdb Add const
-rw-r--r--source4/dsdb/schema/schema_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_query.c b/source4/dsdb/schema/schema_query.c
index 0e5efa9004..7d696e877e 100644
--- a/source4/dsdb/schema/schema_query.c
+++ b/source4/dsdb/schema/schema_query.c
@@ -157,7 +157,7 @@ const struct dsdb_class *dsdb_class_by_lDAPDisplayName(const struct dsdb_schema
}
const struct dsdb_class *dsdb_class_by_lDAPDisplayName_ldb_val(const struct dsdb_schema *schema,
- struct ldb_val *name)
+ const struct ldb_val *name)
{
struct dsdb_class *c;
if (!name) return NULL;
@@ -177,7 +177,7 @@ const struct dsdb_class *dsdb_class_by_cn(const struct dsdb_schema *schema,
}
const struct dsdb_class *dsdb_class_by_cn_ldb_val(const struct dsdb_schema *schema,
- struct ldb_val *cn)
+ const struct ldb_val *cn)
{
struct dsdb_class *c;
if (!cn) return NULL;