Change in ...osmo-msc[master]: cosmetic: make function mncc_tx_to_gsm_cc static

laforge gerrit-no-reply at lists.osmocom.org
Mon Aug 12 08:41:34 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-msc/+/15008 )

Change subject: cosmetic: make function mncc_tx_to_gsm_cc static
......................................................................

cosmetic: make function mncc_tx_to_gsm_cc static

The function mncc_tx_to_gsm_cc() is declared as non static but only used
from within gsm_04_08_cc.c. Lets declare it as static to increase
readability of the code

Change-Id: Icd02c669cfee6dd7e6b154e303cd0f4c148c83c4
---
M src/libmsc/gsm_04_08_cc.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  fixeria: Looks good to me, approved
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index 03830de..34d95f6 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -1798,7 +1798,7 @@
 	(sizeof(downstatelist) / sizeof(struct downstate))
 
 
-int mncc_tx_to_gsm_cc(struct gsm_network *net, const union mncc_msg *msg)
+static int mncc_tx_to_gsm_cc(struct gsm_network *net, const union mncc_msg *msg)
 {
 	int i, rc = 0;
 	struct msc_a *msc_a = NULL;

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

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Icd02c669cfee6dd7e6b154e303cd0f4c148c83c4
Gerrit-Change-Number: 15008
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190812/eaa15613/attachment.html>


More information about the gerrit-log mailing list