mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user