From b26854c2760fef01eb42632e7c377cf1ab981cb7 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 21 Feb 2019 17:17:07 +0100 Subject: Mark gprs_ns_reconnect() as static (not used outside of C file) Change-Id: I95138adedacdc2d953284cff57f79ecb33616f0f --- src/gprs_bssgp_pcu.cpp | 3 ++- src/gprs_bssgp_pcu.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index 100e33d2..8bf6b7fe 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 4127244a..e8ae1a9c 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); -- cgit v1.2.3