aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/channel.c b/main/channel.c
index ac59eb352..07d099c6a 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -516,8 +516,10 @@ int ast_str2cause(const char *name)
return -1;
}
-/*! \brief Gives the string form of a given channel state */
-char *ast_state2str(enum ast_channel_state state)
+/*! \brief Gives the string form of a given channel state.
+ \note This function is not reentrant.
+ */
+const char *ast_state2str(enum ast_channel_state state)
{
char *buf;