From 40c7410f9eb6961d5288c4bbf9072832b2b09ea1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 5 Oct 2021 19:23:27 +0200 Subject: Move ts_fsm_init to static constructor [3/4] This allows having it initialized automatically, as we usually do with this type of code. As a result, tests or other apps importing libbsc don't need to take care of calling it. NOTE: This fix is required by follow-up patches where some stubs are removed and hence some tests start using FSMs internally. Since tests were not using those FSMs before, there was no need to call ts_fsm_init(). This is one further step towards fixing interdependency mess of symbols and stubs. Change-Id: I0e4b95b5e73fbb3844d83ba33e66786831088e1f --- tests/handover/handover_test.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/handover') diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index bd65b2f75..1dc7c1f6e 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -1626,7 +1626,6 @@ int main(int argc, char **argv) bsc_vty_init(bsc_gsmnet); ho_test_vty_init(); - ts_fsm_init(); lchan_fsm_init(); bsc_subscr_conn_fsm_init(); handover_fsm_init(); -- cgit v1.2.3