Change in ...osmo-bsc[master]: gsm_08_08.c: Mark func bsc_find_msc() 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/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Oct 3 15:36:59 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/15663


Change subject: gsm_08_08.c: Mark func bsc_find_msc() static
......................................................................

gsm_08_08.c: Mark func bsc_find_msc() static

Its currently only used by bsc_compl_l3() in same file.

Change-Id: I7273a9452dbc4c1285cfa69269fa36ab09551d89
---
M include/osmocom/bsc/osmo_bsc.h
M src/osmo-bsc/gsm_08_08.c
2 files changed, 1 insertion(+), 2 deletions(-)



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

diff --git a/include/osmocom/bsc/osmo_bsc.h b/include/osmocom/bsc/osmo_bsc.h
index bebfb2f..163e494 100644
--- a/include/osmocom/bsc/osmo_bsc.h
+++ b/include/osmocom/bsc/osmo_bsc.h
@@ -28,7 +28,6 @@
 				       struct bsc_msc_data *msc, int send_ping);
 int bsc_delete_connection(struct gsm_subscriber_connection *sccp);
 
-struct bsc_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn, struct msgb *);
 int bsc_scan_bts_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
 int bsc_scan_msc_msg(struct gsm_subscriber_connection *conn, struct msgb *msg);
 int bsc_send_welcome_ussd(struct gsm_subscriber_connection *conn);
diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c
index 4b0752f..ad67c3f 100644
--- a/src/osmo-bsc/gsm_08_08.c
+++ b/src/osmo-bsc/gsm_08_08.c
@@ -269,7 +269,7 @@
 	return subscr;
 }
 
-struct bsc_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn,
+static struct bsc_msc_data *bsc_find_msc(struct gsm_subscriber_connection *conn,
 				   struct msgb *msg)
 {
 	struct gsm48_hdr *gh;

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I7273a9452dbc4c1285cfa69269fa36ab09551d89
Gerrit-Change-Number: 15663
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191003/86e943ea/attachment.htm>


More information about the gerrit-log mailing list