summaryrefslogtreecommitdiff
path: root/apps/app_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_system.c')
-rw-r--r--apps/app_system.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_system.c b/apps/app_system.c
index e06a9cb5d..6fa2fc962 100644
--- a/apps/app_system.c
+++ b/apps/app_system.c
@@ -100,7 +100,7 @@ static char *app2 = "TrySystem";
static char *chanvar = "SYSTEMSTATUS";
-static int system_exec_helper(struct ast_channel *chan, void *data, int failmode)
+static int system_exec_helper(struct ast_channel *chan, const char *data, int failmode)
{
int res = 0;
struct ast_str *buf = ast_str_thread_get(&buf_buf, 16);
@@ -140,12 +140,12 @@ static int system_exec_helper(struct ast_channel *chan, void *data, int failmode
return res;
}
-static int system_exec(struct ast_channel *chan, void *data)
+static int system_exec(struct ast_channel *chan, const char *data)
{
return system_exec_helper(chan, data, -1);
}
-static int trysystem_exec(struct ast_channel *chan, void *data)
+static int trysystem_exec(struct ast_channel *chan, const char *data)
{
return system_exec_helper(chan, data, 0);
}