diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-05 14:08:32 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-01-05 14:15:52 +0100 |
commit | df203361e856689faf653f092224ab33d02198a1 (patch) | |
tree | b40e9814603278cd6c8086b71b88b6e3841fd7e9 | |
parent | b61ab9b9acaceddf845b782ad0b2772492ee9f95 (diff) |
Move gprs_sndcp_vty_init() declaration to gprs_sndcp.h
Change-Id: Iea9692e7ef9bd017d89ef654d2f2ae5b30cc4550
-rw-r--r-- | include/osmocom/sgsn/gprs_sgsn.h | 1 | ||||
-rw-r--r-- | include/osmocom/sgsn/gprs_sndcp.h | 2 | ||||
-rw-r--r-- | src/sgsn/sgsn_main.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h index d464f8bee..a979e682b 100644 --- a/include/osmocom/sgsn/gprs_sgsn.h +++ b/include/osmocom/sgsn/gprs_sgsn.h @@ -460,7 +460,6 @@ struct gsm_auth_tuple *sgsn_auth_get_tuple(struct sgsn_mm_ctx *mmctx, /* Called on subscriber data updates */ void sgsn_update_subscriber_data(struct sgsn_mm_ctx *mmctx); -int gprs_sndcp_vty_init(void); struct sgsn_instance; int sgsn_gtp_init(struct sgsn_instance *sgi); diff --git a/include/osmocom/sgsn/gprs_sndcp.h b/include/osmocom/sgsn/gprs_sndcp.h index ad192fe6f..caf675cdd 100644 --- a/include/osmocom/sgsn/gprs_sndcp.h +++ b/include/osmocom/sgsn/gprs_sndcp.h @@ -60,6 +60,8 @@ struct gprs_sndcp_entity { extern struct llist_head gprs_sndcp_entities; +int gprs_sndcp_vty_init(void); + /* Set of SNDCP-XID negotiation (See also: TS 144 065, * Section 6.8 XID parameter negotiation) */ int sndcp_sn_xid_req(struct gprs_llc_lle *lle, uint8_t nsapi); diff --git a/src/sgsn/sgsn_main.c b/src/sgsn/sgsn_main.c index 36ff78def..362e7aaca 100644 --- a/src/sgsn/sgsn_main.c +++ b/src/sgsn/sgsn_main.c @@ -59,6 +59,7 @@ #include <osmocom/sgsn/vty.h> #include <osmocom/sgsn/sgsn.h> #include <osmocom/sgsn/gprs_llc.h> +#include <osmocom/sgsn/gprs_sndcp.h> #include <osmocom/sgsn/gprs_gmm.h> #include <osmocom/sgsn/gprs_ranap.h> #include <osmocom/sgsn/gprs_ns.h> |