diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-08-13 14:23:38 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-08-13 14:23:38 +0000 |
commit | 5f0c3e7dbc3cfa88dbc24b153c24057ca306b30a (patch) | |
tree | 3b18b88e6cec1ffe2e890a5a0f5815af806706c4 /include/asterisk/channel.h | |
parent | d5eda8709c8752ef64b07d476a790ec7b563d93b (diff) |
constify the return value of reason2str
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 1a334411a..b24b25c79 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1458,14 +1458,12 @@ int ast_channel_whisper_feed(struct ast_channel *chan, struct ast_frame *f); */ void ast_channel_whisper_stop(struct ast_channel *chan); - - /*! \brief return an english explanation of the code returned thru __ast_request_and_dial's 'outstate' argument \param reason The integer argument, usually taken from AST_CONTROL_ macros \return char pointer explaining the code */ -char *ast_channel_reason2str(int reason); +const char *ast_channel_reason2str(int reason); #if defined(__cplusplus) || defined(c_plusplus) |