From 23bc964e1c45a7c614eb6d9dbfc4655e5bd9822e Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 1 Feb 2012 19:53:38 +0000 Subject: Constify some more channel driver technology callback parameters. Review: https://reviewboard.asterisk.org/r/1707/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353685 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_confbridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_confbridge.c') diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 46d448a5f..207aa4a09 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -358,7 +358,7 @@ static int rec_write(struct ast_channel *ast, struct ast_frame *f) { return 0; } -static struct ast_channel *rec_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, void *data, int *cause); +static struct ast_channel *rec_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, const char *data, int *cause); static struct ast_channel_tech record_tech = { .type = "ConfBridgeRec", .description = "Conference Bridge Recording Channel", @@ -366,7 +366,7 @@ static struct ast_channel_tech record_tech = { .read = rec_read, .write = rec_write, }; -static struct ast_channel *rec_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, void *data, int *cause) +static struct ast_channel *rec_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, const char *data, int *cause) { struct ast_channel *tmp; struct ast_format fmt; -- cgit v1.2.3