Skip to content

Commit

Permalink
Give the causes[] a struct name.
Browse files Browse the repository at this point in the history
........

Merged revisions 378164 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 378165 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
  • Loading branch information
rmudgett9125 committed Dec 20, 2012
1 parent dec9ee2 commit 255d82a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,13 @@ static struct ao2_container *channels;
*
* \ref causes.h
*/
static const struct {
struct causes_map {
int cause;
const char *name;
const char *desc;
} causes[] = {
};

static const struct causes_map causes[] = {
{ AST_CAUSE_UNALLOCATED, "UNALLOCATED", "Unallocated (unassigned) number" },
{ AST_CAUSE_NO_ROUTE_TRANSIT_NET, "NO_ROUTE_TRANSIT_NET", "No route to specified transmit network" },
{ AST_CAUSE_NO_ROUTE_DESTINATION, "NO_ROUTE_DESTINATION", "No route to destination" },
Expand Down

0 comments on commit 255d82a

Please sign in to comment.