[libpri-commits] branch 1.2 r358 - /branches/1.2/q931.c
libpri-commits at lists.digium.com
libpri-commits at lists.digium.com
Fri Jul 7 08:36:51 MST 2006
Author: mattf
Date: Fri Jul 7 10:36:50 2006
New Revision: 358
URL: http://svn.digium.com/view/libpri?rev=358&view=rev
Log:
Fix for #7378 (namespace collision)
Modified:
branches/1.2/q931.c
Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?rev=358&r1=357&r2=358&view=diff
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Fri Jul 7 10:36:50 2006
@@ -43,7 +43,7 @@
int mandies[MAX_MAND_IES];
};
-struct msgtype msgs[] = {
+static struct msgtype msgs[] = {
/* Call establishment messages */
{ Q931_ALERTING, "ALERTING" },
{ Q931_CALL_PROCEEDING, "CALL PROCEEDING" },
@@ -89,7 +89,7 @@
{ NATIONAL_SERVICE_ACKNOWLEDGE, "SERVICE ACKNOWLEDGE" },
};
-struct msgtype causes[] = {
+static struct msgtype causes[] = {
{ PRI_CAUSE_UNALLOCATED, "Unallocated (unassigned) number" },
{ PRI_CAUSE_NO_ROUTE_TRANSIT_NET, "No route to specified transmit network" },
{ PRI_CAUSE_NO_ROUTE_DESTINATION, "No route to destination" },
@@ -136,7 +136,7 @@
{ PRI_CAUSE_INTERWORKING, "Interworking, unspecified" },
};
-struct msgtype facilities[] = {
+static struct msgtype facilities[] = {
{ PRI_NSF_SID_PREFERRED, "CPN (SID) preferred" },
{ PRI_NSF_ANI_PREFERRED, "BN (ANI) preferred" },
{ PRI_NSF_SID_ONLY, "CPN (SID) only" },
@@ -1907,7 +1907,7 @@
}
-struct ie ies[] = {
+static struct ie ies[] = {
/* Codeset 0 - Common */
{ 1, NATIONAL_CHANGE_STATUS, "Change Status" },
{ 0, Q931_LOCKING_SHIFT, "Locking Shift", dump_shift },
More information about the libpri-commits
mailing list