Swap "static" and "const", so that "static" appears at the beginning of each

declaration (suppresses a warning).
(closes issue #13070)
 Reported by: gknispel_proformatique
 Patches: 
       asterisk_trunk_const_static.patch uploaded by gknispel (license 261)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-07-14 15:44:07 +00:00
parent c4c3e2f875
commit 28534ea921
4 changed files with 57 additions and 57 deletions

View File

@@ -956,7 +956,7 @@ static BOOL FetchCiscoTunneledInfo(Q931 &q931, const H323SignalPDU &pdu)
static BOOL EmbedCiscoTunneledInfo(H323SignalPDU &pdu)
{
const static struct {
static const struct {
Q931::InformationElementCodes ie;
BOOL dontDelete;
} codes[] = {
@@ -1095,7 +1095,7 @@ static BOOL QSIGTunnelRequested(H323SignalPDU &pdu)
static BOOL EmbedQSIGTunneledInfo(H323SignalPDU &pdu)
{
const static Q931::InformationElementCodes codes[] =
static const Q931::InformationElementCodes codes[] =
{ Q931::RedirectingNumberIE, Q931::FacilityIE };
Q931 &q931 = pdu.GetQ931();