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 /channels | |
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 '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]; |