pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/30867 )


Change subject: Move gprs_sndcp_vty_init() declaration to gprs_sndcp.h
......................................................................

Move gprs_sndcp_vty_init() declaration to gprs_sndcp.h

Change-Id: Iea9692e7ef9bd017d89ef654d2f2ae5b30cc4550
---
M include/osmocom/sgsn/gprs_sgsn.h
M include/osmocom/sgsn/gprs_sndcp.h
M src/sgsn/sgsn_main.c
3 files changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/67/30867/1

diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index d464f8b..a979e68 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -460,7 +460,6 @@
 /* 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 ad192fe..caf675c 100644
--- a/include/osmocom/sgsn/gprs_sndcp.h
+++ b/include/osmocom/sgsn/gprs_sndcp.h
@@ -60,6 +60,8 @@

 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 36ff78d..362e7aa 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>

--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/30867
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Iea9692e7ef9bd017d89ef654d2f2ae5b30cc4550
Gerrit-Change-Number: 30867
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-MessageType: newchange

Reply via email to