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 /include | |
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 'include')
-rw-r--r-- | include/asterisk/channel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index a3f979b81..193d0ff34 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -929,7 +929,7 @@ struct ast_channel * attribute_malloc __attribute__((format(printf, 12, 13))) * * \note The channel does not need to be locked before calling this function. */ -int ast_queue_frame(struct ast_channel *chan, struct ast_frame *f); +int ast_queue_frame(struct ast_channel *chan, const struct ast_frame *f); /*! * \brief Queue an outgoing frame to the head of the frame queue @@ -943,7 +943,7 @@ int ast_queue_frame(struct ast_channel *chan, struct ast_frame *f); * \retval 0 success * \retval non-zero failure */ -int ast_queue_frame_head(struct ast_channel *chan, struct ast_frame *f); +int ast_queue_frame_head(struct ast_channel *chan, const struct ast_frame *f); /*! * \brief Queue a hangup frame |