diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2020-07-08 13:44:15 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2020-08-03 15:13:36 +0200 |
commit | e1ec35a1f68cbfbe87f9491f17c813b5da8fa789 (patch) | |
tree | 78766a026d84f42ed9489e6c0f7ad77ec46f5ba8 | |
parent | 7b2b4309cc2a640f064458ceb4498e6bb73aaee1 (diff) |
lchan_rtp_fsm: make _fsm_timer_cb and _fsm_cleanup static
The functions lchan_rtp_fsm_timer_cb() and lchan_rtp_fsm_cleanup() only
used in lchan_rtp_fsm.c, lets make them static.
Change-Id: I31940aff166ccd7a9612574536674e4e483a3cb9
-rw-r--r-- | src/osmo-bsc/lchan_rtp_fsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c index 2def2f5db..24a714702 100644 --- a/src/osmo-bsc/lchan_rtp_fsm.c +++ b/src/osmo-bsc/lchan_rtp_fsm.c @@ -730,7 +730,7 @@ static const struct value_string lchan_rtp_fsm_event_names[] = { {} }; -int lchan_rtp_fsm_timer_cb(struct osmo_fsm_inst *fi) +static int lchan_rtp_fsm_timer_cb(struct osmo_fsm_inst *fi) { struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi); lchan->release.in_error = true; @@ -739,7 +739,7 @@ int lchan_rtp_fsm_timer_cb(struct osmo_fsm_inst *fi) return 0; } -void lchan_rtp_fsm_cleanup(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause cause) +static void lchan_rtp_fsm_cleanup(struct osmo_fsm_inst *fi, enum osmo_fsm_term_cause cause) { struct gsm_lchan *lchan = lchan_rtp_fi_lchan(fi); if (lchan->mgw_endpoint_ci_bts) { |