From cec158231b5618a9a93e478b6b60914305508086 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 11 Jan 2005 13:52:29 +0000 Subject: r4678: Add some const to LDB. Andrew Bartlett (This used to be commit d4da9fb1600dba5daca9acb83f528c8f5f42f0ce) --- source4/lib/ldb/common/ldb_msg.c | 2 +- source4/lib/ldb/include/ldb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c index 89f8feb3c0..416590f462 100644 --- a/source4/lib/ldb/common/ldb_msg.c +++ b/source4/lib/ldb/common/ldb_msg.c @@ -171,7 +171,7 @@ int ldb_msg_add(struct ldb_context *ldb, int ldb_msg_add_value(struct ldb_context *ldb, struct ldb_message *msg, const char *attr_name, - struct ldb_val *val) + const struct ldb_val *val) { struct ldb_message_element *el; struct ldb_val *vals; diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 7aa2b6f4cd..0bb8105c44 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -256,7 +256,7 @@ int ldb_msg_add(struct ldb_context *ldb, int ldb_msg_add_value(struct ldb_context *ldb, struct ldb_message *msg, const char *attr_name, - struct ldb_val *val); + const struct ldb_val *val); int ldb_msg_add_string(struct ldb_context *ldb, struct ldb_message *msg, const char *attr_name, char *str); -- cgit