Change in osmo-pcu[master]: Mark gprs_ns_reconnect() as static (not used outside of C file)

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Feb 26 11:11:52 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13024 )

Change subject: Mark gprs_ns_reconnect() as static (not used outside of C file)
......................................................................

Mark gprs_ns_reconnect() as static (not used outside of C file)

Change-Id: I95138adedacdc2d953284cff57f79ecb33616f0f
---
M src/gprs_bssgp_pcu.cpp
M src/gprs_bssgp_pcu.h
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index 100e33d..8bf6b7f 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -47,6 +47,7 @@
 extern bool spoof_mnc_3_digits;
 
 static void bvc_timeout(void *_priv);
+static int gprs_ns_reconnect(struct gprs_nsvc *nsvc);
 
 static int parse_imsi(struct tlv_parsed *tp, char *imsi)
 {
@@ -857,7 +858,7 @@
 	osmo_timer_schedule(&the_pcu.bvc_timer, the_pcu.bts->fc_interval, 0);
 }
 
-int gprs_ns_reconnect(struct gprs_nsvc *nsvc)
+static int gprs_ns_reconnect(struct gprs_nsvc *nsvc)
 {
 	struct gprs_nsvc *nsvc2;
 
diff --git a/src/gprs_bssgp_pcu.h b/src/gprs_bssgp_pcu.h
index 4127244..e8ae1a9 100644
--- a/src/gprs_bssgp_pcu.h
+++ b/src/gprs_bssgp_pcu.h
@@ -81,7 +81,6 @@
 		uint16_t lac, uint16_t rac, uint16_t cell_id);
 
 void gprs_bssgp_destroy(void);
-int gprs_ns_reconnect(struct gprs_nsvc *nsvc);
 
 struct bssgp_bvc_ctx *gprs_bssgp_pcu_current_bctx(void);
 

-- 
To view, visit https://gerrit.osmocom.org/13024
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I95138adedacdc2d953284cff57f79ecb33616f0f
Gerrit-Change-Number: 13024
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190226/a1d02c69/attachment.htm>


More information about the gerrit-log mailing list