diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-08-19 00:33:44 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-08-19 00:33:44 +0000 |
commit | 5dc72404ab97dde1d73b98395b216594549bfe0e (patch) | |
tree | f90fd4b3b961788e14a46feeb9d1965c1167e7c8 /channels | |
parent | 590591c16e11aa8c2923e7ab10d4a0b70a524fe1 (diff) |
convert lists of constants in channel.h to enums instead of #defines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_vpb.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc index fa17bf694..0a98590d9 100644 --- a/channels/chan_vpb.cc +++ b/channels/chan_vpb.cc @@ -339,7 +339,7 @@ static struct vpb_pvt { } *iflist = NULL; -static struct ast_channel *vpb_new(struct vpb_pvt *i, int state, char *context); +static struct ast_channel *vpb_new(struct vpb_pvt *i, enum ast_channel_state state, char *context); static void *do_chanreads(void *pvt); static struct ast_channel *vpb_request(const char *type, int format, void *data, int *cause); @@ -2618,7 +2618,7 @@ static void *do_chanreads(void *pvt) return NULL; } -static struct ast_channel *vpb_new(struct vpb_pvt *me, int state, char *context) +static struct ast_channel *vpb_new(struct vpb_pvt *me, enum ast_channel_state state, char *context) { struct ast_channel *tmp; char cid_num[256]; |