mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Constify the ast_frame arg to ast_queue_frame().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user