diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-13 14:23:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-13 14:23:38 +0000 |
commit | f31ea6a834bb6aaf57aa46fef9fcaa336baf746e (patch) | |
tree | 3b18b88e6cec1ffe2e890a5a0f5815af806706c4 /main/channel.c | |
parent | 2ca342ce99c8b0600b386276c16b86fb27d1d577 (diff) |
constify the return value of reason2str
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79176 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index cd2202fd4..51b5da9b3 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2919,7 +2919,7 @@ int ast_set_write_format(struct ast_channel *chan, int fmt) &chan->writetrans, 1); } -char *ast_channel_reason2str(int reason) +const char *ast_channel_reason2str(int reason) { switch (reason) /* the following appear to be the only ones actually returned by request_and_dial */ { |