summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-06-04 06:42:30 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-06-04 06:42:30 -0500
commit269fbff366c672e72b58483cb8470c20678046da (patch)
tree43040c4506882952f7038ac75e214deab74fe91e /res
parent92ccffd9e676f04c2959afcc00c1f8739786744f (diff)
parent9472bbaa95675a6b0e7222a9d6aa05ab5f3e0532 (diff)
Merge "Remove const cast from leaf functions."
Diffstat (limited to 'res')
-rw-r--r--res/stasis/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/stasis/control.c b/res/stasis/control.c
index 0f8b540f0..a61e96137 100644
--- a/res/stasis/control.c
+++ b/res/stasis/control.c
@@ -135,7 +135,7 @@ struct stasis_app_control *control_create(struct ast_channel *channel, struct st
}
static void app_control_register_rule(
- const struct stasis_app_control *control,
+ struct stasis_app_control *control,
struct app_control_rules *list, struct stasis_app_control_rule *obj)
{
SCOPED_AO2LOCK(lock, control->command_queue);
@@ -143,7 +143,7 @@ static void app_control_register_rule(
}
static void app_control_unregister_rule(
- const struct stasis_app_control *control,
+ struct stasis_app_control *control,
struct app_control_rules *list, struct stasis_app_control_rule *obj)
{
struct stasis_app_control_rule *rule;