diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-31 01:19:30 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-31 01:19:30 +0000 |
commit | 980e2bbd537e88a9e5fc9b86da299de3acfefc8f (patch) | |
tree | 32e676ff605fbb18f00eb56f539c352bed6dd821 /main/channel.c | |
parent | 94e54cdb5a7c2b2aa784e086d070ffe4f7e86314 (diff) |
Constify the ast_frame arg to ast_queue_frame().
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198434 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/channel.c b/main/channel.c index a87e6dcd9..bd997def6 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1017,7 +1017,7 @@ struct ast_channel *__ast_channel_alloc(int needqueue, int state, const char *ci } /*! \brief Queue an outgoing media frame */ -static int __ast_queue_frame(struct ast_channel *chan, struct ast_frame *fin, int head) +static int __ast_queue_frame(struct ast_channel *chan, const struct ast_frame *fin, int head) { struct ast_frame *f; struct ast_frame *cur; @@ -1078,12 +1078,12 @@ static int __ast_queue_frame(struct ast_channel *chan, struct ast_frame *fin, in return 0; } -int ast_queue_frame(struct ast_channel *chan, struct ast_frame *fin) +int ast_queue_frame(struct ast_channel *chan, const struct ast_frame *fin) { return __ast_queue_frame(chan, fin, 0); } -int ast_queue_frame_head(struct ast_channel *chan, struct ast_frame *fin) +int ast_queue_frame_head(struct ast_channel *chan, const struct ast_frame *fin) { return __ast_queue_frame(chan, fin, 1); } |