path: root/include
diff options
authorStefan Sperling <ssperling@sysmocom.de>2018-12-11 14:35:43 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-12-12 17:39:17 +0100
commit2599644d8161e6a091596e313ece56189d12348f (patch)
tree719a714a9ec019775e705925fce2d814386194e8 /include
parent2e485767da7210c18621ba74962b94b7c1fd91cd (diff)
remove pointless declaration of struct gsm_network
We were passing a NULL pointer of type struct gsm_network * to ctrl_interface_setup_dynip(). Remove the pointless declaration of this struct. Also, replace the sgsn_controlif_setup() helper function with a direct call to ctrl_interface_setup_dynip(). The helper fnuction was just a thin wrapper around the latter. Change-Id: Ib4151afa5bff01e63b462cca517fb60ac0503759 Related: OS#3356
Diffstat (limited to 'include')
1 files changed, 0 insertions, 3 deletions
diff --git a/include/osmocom/sgsn/gprs_sgsn.h b/include/osmocom/sgsn/gprs_sgsn.h
index b6afe690..a0a056fe 100644
--- a/include/osmocom/sgsn/gprs_sgsn.h
+++ b/include/osmocom/sgsn/gprs_sgsn.h
@@ -404,9 +404,6 @@ char *gprs_pdpaddr2str(uint8_t *pdpa, uint8_t len);
* ctrl interface related work
-struct gsm_network;
-struct ctrl_handle *sgsn_controlif_setup(struct gsm_network *,
- const char *bind_addr, uint16_t port);
int sgsn_ctrl_cmds_install(void);