aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-03 11:46:58 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-06 17:14:51 +0200
commitb448dd849a96fd1b736ee183385d7a6a9ea1863e (patch)
treeddb71c735c2f7cbfd8efdcdb5804dd61124fc183 /openbsc/src/gprs
parent4c8e8f990a24fc5ecb24c5c21c944d8ab4dc7c1e (diff)
sgsn: Make the free function internal
All calls should and do go through the sgsn_mm_ctx_cleanup_free function.
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r--openbsc/src/gprs/gprs_sgsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_sgsn.c b/openbsc/src/gprs/gprs_sgsn.c
index 711540e03..2f5d39e83 100644
--- a/openbsc/src/gprs/gprs_sgsn.c
+++ b/openbsc/src/gprs/gprs_sgsn.c
@@ -183,7 +183,7 @@ struct sgsn_mm_ctx *sgsn_mm_ctx_alloc(uint32_t tlli,
/* this is a hard _free_ function, it doesn't clean up the PDP contexts
* in libgtp! */
-void sgsn_mm_ctx_free(struct sgsn_mm_ctx *mm)
+static void sgsn_mm_ctx_free(struct sgsn_mm_ctx *mm)
{
struct sgsn_pdp_ctx *pdp, *pdp2;