From b448dd849a96fd1b736ee183385d7a6a9ea1863e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 3 May 2015 11:46:58 +0200 Subject: sgsn: Make the free function internal All calls should and do go through the sgsn_mm_ctx_cleanup_free function. --- openbsc/src/gprs/gprs_sgsn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src') 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; -- cgit v1.2.3