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

dexter gerrit-no-reply at lists.osmocom.org
Thu Aug 1 09:31:12 UTC 2019


dexter has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/08/15008/1

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: 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/20190801/efca5cc4/attachment.html>


More information about the gerrit-log mailing list