diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-11-09 14:42:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-11-09 14:42:18 +0100 |
commit | c867e1472348c7a551cc83718d2fe74e6baa1c6f (patch) | |
tree | ccdff25d309e14d7b8a481d5ab661a68ac3d38cd | |
parent | 8154266457616ca59dea4990f0e29fe0ea298662 (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.h | 2 | ||||
-rw-r--r-- | src/gb/gprs_ns_vty.c | 2 |
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); |