diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-14 15:44:07 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-14 15:44:07 +0000 |
commit | 22e3986f8e05a49f5ebd6ad00bf4d6ab546cdac2 (patch) | |
tree | a02974efdea20c811bacb24f90985da6e7c08cab /channels/h323 | |
parent | 68df4f8607fab52a93018f8798247cb348085198 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@130697 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rw-r--r-- | channels/h323/ast_h323.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx index a55a89574..2ed94b5c3 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -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(); |