aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_cdr.c')
-rw-r--r--apps/app_cdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_cdr.c b/apps/app_cdr.c
index ca228da03..70036ad82 100644
--- a/apps/app_cdr.c
+++ b/apps/app_cdr.c
@@ -44,9 +44,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</application>
***/
-static char *nocdr_app = "NoCDR";
+static const char nocdr_app[] = "NoCDR";
-static int nocdr_exec(struct ast_channel *chan, void *data)
+static int nocdr_exec(struct ast_channel *chan, const char *data)
{
if (chan->cdr)
ast_set_flag(chan->cdr, AST_CDR_FLAG_POST_DISABLED);