diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-19 00:33:44 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-19 00:33:44 +0000 |
commit | 58b98df732c92339173863e4bc521b24a09b1211 (patch) | |
tree | f90fd4b3b961788e14a46feeb9d1965c1167e7c8 /channel.c | |
parent | 83f628caebdd3a4f4379aa3075b4a030f30d4bca (diff) |
convert lists of constants in channel.h to enums instead of #defines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40424 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -492,7 +492,7 @@ int ast_str2cause(const char *name) } /*! \brief Gives the string form of a given channel state */ -char *ast_state2str(int state) +char *ast_state2str(enum ast_channel_state state) { char *buf; @@ -3340,7 +3340,7 @@ void ast_set_callerid(struct ast_channel *chan, const char *callerid, const char ); } -int ast_setstate(struct ast_channel *chan, int state) +int ast_setstate(struct ast_channel *chan, enum ast_channel_state state) { int oldstate = chan->_state; |