From b4e8d927cd91b2fc1221d9834715153c7487b715 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 24 Aug 2009 13:15:31 +1000 Subject: [PATCH] s4:dsdb Add const --- source4/dsdb/schema/schema_query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/schema/schema_query.c b/source4/dsdb/schema/schema_query.c index 0e5efa90040b..7d696e877e6d 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; -- 2.34.1