aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-10-05 19:23:27 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-10-07 14:08:22 +0200
commit40c7410f9eb6961d5288c4bbf9072832b2b09ea1 (patch)
tree3d72a7d4946b4edb80823e4b4575e7925c86f3f6 /include
parent12adbeaba35032bc81647e6ccbd6bfdbe4cdf248 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/timeslot_fsm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/osmocom/bsc/timeslot_fsm.h b/include/osmocom/bsc/timeslot_fsm.h
index 1831537b1..5e621888f 100644
--- a/include/osmocom/bsc/timeslot_fsm.h
+++ b/include/osmocom/bsc/timeslot_fsm.h
@@ -42,8 +42,6 @@ enum ts_fsm_event {
TS_EV_PDCH_DEACT_NACK,
};
-void ts_fsm_init();
-
void ts_fsm_alloc(struct gsm_bts_trx_ts *ts);
void ts_fsm_free(struct gsm_bts_trx_ts *ts);