mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Things don't need to be that const.
........ Merged revisions 375658 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 375659 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 375661 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -478,7 +478,7 @@ static void ast_chan_trace_destroy_cb(void *data)
|
||||
}
|
||||
|
||||
/*! \brief Datastore to put the linked list of ast_chan_trace and trace status */
|
||||
static const const struct ast_datastore_info ast_chan_trace_datastore_info = {
|
||||
static const struct ast_datastore_info ast_chan_trace_datastore_info = {
|
||||
.type = "ChanTrace",
|
||||
.destroy = ast_chan_trace_destroy_cb
|
||||
};
|
||||
@@ -2522,7 +2522,7 @@ static void ast_dummy_channel_destructor(void *obj)
|
||||
ast_channel_internal_cleanup(chan);
|
||||
}
|
||||
|
||||
struct ast_datastore *ast_channel_datastore_alloc(const const struct ast_datastore_info *info, const char *uid)
|
||||
struct ast_datastore *ast_channel_datastore_alloc(const struct ast_datastore_info *info, const char *uid)
|
||||
{
|
||||
return ast_datastore_alloc(info, uid);
|
||||
}
|
||||
@@ -2563,7 +2563,7 @@ int ast_channel_datastore_remove(struct ast_channel *chan, struct ast_datastore
|
||||
return AST_LIST_REMOVE(ast_channel_datastores(chan), datastore, entry) ? 0 : -1;
|
||||
}
|
||||
|
||||
struct ast_datastore *ast_channel_datastore_find(struct ast_channel *chan, const const struct ast_datastore_info *info, const char *uid)
|
||||
struct ast_datastore *ast_channel_datastore_find(struct ast_channel *chan, const struct ast_datastore_info *info, const char *uid)
|
||||
{
|
||||
struct ast_datastore *datastore = NULL;
|
||||
|
||||
@@ -6417,7 +6417,7 @@ static void xfer_ds_destroy(void *data)
|
||||
ast_free(ds);
|
||||
}
|
||||
|
||||
static const const struct ast_datastore_info xfer_ds_info = {
|
||||
static const struct ast_datastore_info xfer_ds_info = {
|
||||
.type = "xfer_colp",
|
||||
.destroy = xfer_ds_destroy,
|
||||
};
|
||||
@@ -11039,7 +11039,7 @@ static void channel_cc_params_destroy(void *data)
|
||||
ast_cc_config_params_destroy(cc_params);
|
||||
}
|
||||
|
||||
static const const struct ast_datastore_info cc_channel_datastore_info = {
|
||||
static const struct ast_datastore_info cc_channel_datastore_info = {
|
||||
.type = "Call Completion",
|
||||
.duplicate = channel_cc_params_copy,
|
||||
.destroy = channel_cc_params_destroy,
|
||||
|
||||
Reference in New Issue
Block a user