aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-13 19:07:22 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-15 13:15:48 +0200
commit6e3112579e750a4e177bb0d3a0da0eaf10786dc3 (patch)
tree6e64cd9db46355db2fe5339d3f3e6ed80e5fc699 /src
parent05140b8dfea745cf5151f09118f8a8d2abffb363 (diff)
gprs_gmm.c: Flag mmctx_set_(p)mm_state() functions static
Diffstat (limited to 'src')
-rw-r--r--src/gprs/gprs_gmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index bb0e002be..e1bed0ddb 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -136,7 +136,7 @@ static void mmctx_change_gtpu_endpoints_to_sgsn(struct sgsn_mm_ctx *mm_ctx)
}
}
-void mmctx_set_pmm_state(struct sgsn_mm_ctx *ctx, enum gprs_pmm_state state)
+static void mmctx_set_pmm_state(struct sgsn_mm_ctx *ctx, enum gprs_pmm_state state)
{
if (ctx->ran_type != MM_CTX_T_UTRAN_Iu)
return;
@@ -162,7 +162,7 @@ void mmctx_set_pmm_state(struct sgsn_mm_ctx *ctx, enum gprs_pmm_state state)
ctx->pmm_state = state;
}
-void mmctx_set_mm_state(struct sgsn_mm_ctx *ctx, enum gprs_pmm_state state)
+static void mmctx_set_mm_state(struct sgsn_mm_ctx *ctx, enum gprs_pmm_state state)
{
if (ctx->ran_type != MM_CTX_T_GERAN_Gb)
return;