mgw: Move f_mgcp_par_append() to top of file
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index b2a37bc..0152db8 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -72,6 +72,11 @@
}
}
+ function f_mgcp_par_append(inout template MgcpParameterList list, template MgcpParameter par) {
+ var integer len := lengthof(list);
+ list[len] := par;
+ }
+
/* 3.2.2.6 Connection Mode (sendonly, recvonly, sendrecv, confrnce, inactive, loopback,
* conttest, netwloop, netwtest) */
template MgcpParameter t_MgcpParConnMode(template MgcpConnectionMode mode) := { "M", mode };
@@ -449,11 +454,6 @@
setverdict(pass);
}
- function f_mgcp_par_append(inout template MgcpParameterList list, template MgcpParameter par) {
- var integer len := lengthof(list);
- list[len] := par;
- }
-
/* test CRCX with unsupported Parameters */
testcase TC_crcx_unsupp_param() runs on dummy_CT {
var template MgcpCommand cmd;