aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-15 04:03:42 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-15 04:03:42 +0000
commit80d6954430f9200a948a13b3c708eb8e4b26c096 (patch)
tree3e68f630a80e726d516dfe27e4273daf35494bf7 /include
parent889d8eecec85ae018ab636ccc116c44e250e9b7d (diff)
constify ast_state2str() and note it is not reentrant.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48477 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 0ce88200a..88ba77dbc 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -1060,7 +1060,7 @@ int ast_str2cause(const char *name) attribute_pure;
* Give a name to a state
* Returns the text form of the binary state given
*/
-char *ast_state2str(enum ast_channel_state);
+const char *ast_state2str(enum ast_channel_state);
/*! Gives the string form of a given transfer capability */
/*!