aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-11-09 14:42:18 +0100
committerHarald Welte <laforge@gnumonks.org>2016-11-09 14:42:18 +0100
commitc867e1472348c7a551cc83718d2fe74e6baa1c6f (patch)
treeccdff25d309e14d7b8a481d5ab661a68ac3d38cd
parent8154266457616ca59dea4990f0e29fe0ea298662 (diff)
remove now-unused argument to gprs_ns_vty_init()
gprs_ns_vty_init() is now working for all NS instances, so no need to pass in one specific NS instance Change-Id: I5715ae4fad45a71245f83729d06414c5c44adf93
-rw-r--r--include/osmocom/gprs/gprs_ns.h2
-rw-r--r--src/gb/gprs_ns_vty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gprs/gprs_ns.h b/include/osmocom/gprs/gprs_ns.h
index d95924da..cb91942a 100644
--- a/include/osmocom/gprs/gprs_ns.h
+++ b/include/osmocom/gprs/gprs_ns.h
@@ -187,7 +187,7 @@ struct gprs_nsvc *gprs_nsvc_by_nsvci(struct gprs_ns_inst *nsi, uint16_t nsvci);
int gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause);
/* Add NS-specific VTY stuff */
-int gprs_ns_vty_init(struct gprs_ns_inst *nsi);
+int gprs_ns_vty_init(void);
/* Resturn peer info as string (NOTE: the buffer is allocated statically) */
const char *gprs_ns_ll_str(struct gprs_nsvc *nsvc);
diff --git a/src/gb/gprs_ns_vty.c b/src/gb/gprs_ns_vty.c
index 2fe0c865..5f2ef034 100644
--- a/src/gb/gprs_ns_vty.c
+++ b/src/gb/gprs_ns_vty.c
@@ -643,7 +643,7 @@ DEFUN(logging_fltr_nsvc,
return CMD_SUCCESS;
}
-int gprs_ns_vty_init(struct gprs_ns_inst *nsi)
+int gprs_ns_vty_init(void)
{
install_element_ve(&show_ns_cmd);
install_element_ve(&show_ns_stats_cmd);