Constified some static token tables.

git-svn-id: http://voip.null.ro/svn/yate@3345 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2010-05-27 13:45:39 +00:00
parent 685e0fea07
commit 2ee2e1d77b
1 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ static ObjList s_spans;
static Mutex s_mutex(false,"MGCP-CA");
// Yate Payloads for the AV profile
static TokenDict s_dict_payloads[] = {
static const TokenDict s_dict_payloads[] = {
{ "mulaw", 0 },
{ "alaw", 8 },
{ "gsm", 3 },
@ -314,13 +314,13 @@ static TokenDict s_dict_payloads[] = {
};
// Media gateway bearer information (mapped from s_dict_payloads)
static TokenDict s_dict_gwbearerinfo[] = {
static const TokenDict s_dict_gwbearerinfo[] = {
{ "e:mu", 0 },
{ "e:A", 8 },
{ 0, 0 }
};
static TokenDict s_dict_rqnt[] = {
static const TokenDict s_dict_rqnt[] = {
{ "none", MGCPSpan::RqntNone },
{ "once", MGCPSpan::RqntOnce },
{ "more", MGCPSpan::RqntMore },