aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-02-21 17:17:07 +0100
committerHarald Welte <laforge@gnumonks.org>2019-02-26 11:11:51 +0000
commitb26854c2760fef01eb42632e7c377cf1ab981cb7 (patch)
treed2ac106a600241309d5e7f9211dac133d1c050a4
parentbd5647ee92bac90f01000ecdc68e7a2de5ce1f64 (diff)
Mark gprs_ns_reconnect() as static (not used outside of C file)
-rw-r--r--src/gprs_bssgp_pcu.cpp3
-rw-r--r--src/gprs_bssgp_pcu.h1
2 files changed, 2 insertions, 2 deletions
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 uint16_t spoof_mcc, spoof_mnc;
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 @@ static void bvc_timeout(void *_priv)
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 @@ struct gprs_bssgp_pcu *gprs_bssgp_create_and_connect(struct gprs_rlcmac_bts *bts
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);