Change in osmo-bsc[master]: lchan_rtp_fsm: make _fsm_timer_cb and _fsm_cleanup static

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Jul 8 11:46:38 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/19191 )


Change subject: lchan_rtp_fsm: make _fsm_timer_cb and _fsm_cleanup static
......................................................................

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
---
M src/osmo-bsc/lchan_rtp_fsm.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/91/19191/1

diff --git a/src/osmo-bsc/lchan_rtp_fsm.c b/src/osmo-bsc/lchan_rtp_fsm.c
index 4be9790..d01c0a7 100644
--- a/src/osmo-bsc/lchan_rtp_fsm.c
+++ b/src/osmo-bsc/lchan_rtp_fsm.c
@@ -729,7 +729,7 @@
 	{}
 };
 
-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;
@@ -738,7 +738,7 @@
 	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) {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/19191
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I31940aff166ccd7a9612574536674e4e483a3cb9
Gerrit-Change-Number: 19191
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200708/3d28ca6c/attachment.htm>


More information about the gerrit-log mailing list