[asterisk-commits] rmudgett: branch 10 r375659 - in /branches/10: ./ channels/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 2 15:53:58 CDT 2012
Author: rmudgett
Date: Fri Nov 2 15:53:53 2012
New Revision: 375659
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=375659
Log:
Things don't need to be that const.
........
Merged revisions 375658 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/channels/chan_misdn.c
branches/10/main/ccss.c
branches/10/main/channel.c
branches/10/main/format_pref.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_misdn.c?view=diff&rev=375659&r1=375658&r2=375659
==============================================================================
--- branches/10/channels/chan_misdn.c (original)
+++ branches/10/channels/chan_misdn.c Fri Nov 2 15:53:53 2012
@@ -2733,7 +2733,7 @@
}
#endif /* defined(AST_MISDN_ENHANCEMENTS) */
-static void print_facility(const struct FacParm *fac, const const struct misdn_bchannel *bc)
+static void print_facility(const struct FacParm *fac, const struct misdn_bchannel *bc)
{
#if defined(AST_MISDN_ENHANCEMENTS)
unsigned Index;
Modified: branches/10/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/ccss.c?view=diff&rev=375659&r1=375658&r2=375659
==============================================================================
--- branches/10/main/ccss.c (original)
+++ branches/10/main/ccss.c Fri Nov 2 15:53:53 2012
@@ -1822,7 +1822,7 @@
* more information regarding the actual structure of the tree, see
* the documentation provided in include/asterisk/ccss.h
*/
-static const const struct ast_datastore_info dialed_cc_interfaces_info = {
+static const struct ast_datastore_info dialed_cc_interfaces_info = {
.type = "Dial CC Interfaces",
.duplicate = dialed_cc_interfaces_duplicate,
.destroy = dialed_cc_interfaces_destroy,
Modified: branches/10/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/channel.c?view=diff&rev=375659&r1=375658&r2=375659
==============================================================================
--- branches/10/main/channel.c (original)
+++ branches/10/main/channel.c Fri Nov 2 15:53:53 2012
@@ -683,7 +683,7 @@
}
/*! \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
};
@@ -2577,7 +2577,7 @@
ast_string_field_free_memory(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);
}
@@ -2618,7 +2618,7 @@
return AST_LIST_REMOVE(&chan->datastores, 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;
@@ -6313,7 +6313,7 @@
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,
};
@@ -9772,7 +9772,7 @@
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,
Modified: branches/10/main/format_pref.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/format_pref.c?view=diff&rev=375659&r1=375658&r2=375659
==============================================================================
--- branches/10/main/format_pref.c (original)
+++ branches/10/main/format_pref.c Fri Nov 2 15:53:53 2012
@@ -37,7 +37,7 @@
void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right)
{
size_t f_len;
- const const struct ast_format_list *f_list = ast_format_list_get(&f_len);
+ const struct ast_format_list *f_list = ast_format_list_get(&f_len);
int x, differential = (int) 'A', mem;
char *from, *to;
@@ -120,7 +120,7 @@
struct ast_codec_pref oldorder;
int x, y = 0;
size_t f_len = 0;
- const const struct ast_format_list *f_list;
+ const struct ast_format_list *f_list;
if (!pref->order[0]) {
return;
More information about the asterisk-commits
mailing list