mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-23 08:49:21 -07:00
Give the causes[] a struct name.
........ Merged revisions 378164 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@378165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+4
-2
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user