summaryrefslogtreecommitdiff
path: root/main/ccss.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2012-07-18 17:18:20 +0000
committerKevin P. Fleming <kpfleming@digium.com>2012-07-18 17:18:20 +0000
commit79087cbbd515a108188b93cf732e5baa1b4f28d0 (patch)
tree127ee795efcf82c1d6604ec510ddca5e00fb99c8 /main/ccss.c
parent8401e813833a6ef09073325409cd65b6840943b3 (diff)
Ensure that all ast_datastore_info structures are 'const'.
While addressing a bug, I came across a instance of 'struct ast_datastore_info' that was not declared 'const'. Since the API already expects them to be 'const', this patch changes the declarations of all existing instances that were not already declared that way. ........ Merged revisions 370183 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 370184 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/ccss.c')
-rw-r--r--main/ccss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/ccss.c b/main/ccss.c
index 03c75d750..76b02dac6 100644
--- a/main/ccss.c
+++ b/main/ccss.c
@@ -1845,7 +1845,7 @@ static void *dialed_cc_interfaces_duplicate(void *data)
* more information regarding the actual structure of the tree, see
* the documentation provided in include/asterisk/ccss.h
*/
-static const struct ast_datastore_info dialed_cc_interfaces_info = {
+static const const struct ast_datastore_info dialed_cc_interfaces_info = {
.type = "Dial CC Interfaces",
.duplicate = dialed_cc_interfaces_duplicate,
.destroy = dialed_cc_interfaces_destroy,
@@ -3285,7 +3285,7 @@ static void cc_recall_ds_destroy(void *data)
ast_free(recall_data);
}
-static struct ast_datastore_info recall_ds_info = {
+static const struct ast_datastore_info recall_ds_info = {
.type = "cc_recall",
.duplicate = cc_recall_ds_duplicate,
.destroy = cc_recall_ds_destroy,