mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user