diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-01-11 13:52:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:42 -0500 |
commit | cec158231b5618a9a93e478b6b60914305508086 (patch) | |
tree | 81fac60820c19eda1e1c783fbdaea1222b612dff /source4/lib | |
parent | 0385de8b1fc0f8947b4f820b0c18ea46123efd8a (diff) | |
download | samba-cec158231b5618a9a93e478b6b60914305508086.tar.gz samba-cec158231b5618a9a93e478b6b60914305508086.tar.bz2 samba-cec158231b5618a9a93e478b6b60914305508086.zip |
r4678: Add some const to LDB.
Andrew Bartlett
(This used to be commit d4da9fb1600dba5daca9acb83f528c8f5f42f0ce)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb_msg.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 2 |
2 files changed, 2 insertions, 2 deletions
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); |