aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 16:08:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 16:08:25 +0200
commitcaec10c7f1ce1e12947ec0d1be602a63c1238eaf (patch)
tree0f387f91db01033662c5b84301c935ed39d61cfb /src
parent295c965c063a8c431507191f6aef1ef78b720685 (diff)
Remove undefined param passed to logging_vty_add_cmds
Since March 15th 2017, libosmocore API logging_vty_add_cmds() had its parameter removed (c65c5b4ea075ef6cef11fff9442ae0b15c1d6af7). However, definition in C file doesn't contain "(void)", which means number of parameters is undefined and thus compiler doesn't complain. Let's remove parameters from all callers before enforcing "(void)" on it. Change-Id: Ic3c578347864fa225feb6d2dbe14798b9c19ace0 Related: OS#4138
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bsc/bsc_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index b19c95025..6de2d4b4d 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -5255,7 +5255,7 @@ int bsc_vty_init(struct gsm_network *network)
install_element(ENABLE_NODE, &assignment_any_cmd);
install_element(ENABLE_NODE, &handover_any_to_arfcn_bsic_cmd);
- logging_vty_add_cmds(NULL);
+ logging_vty_add_cmds();
osmo_talloc_vty_add_cmds();
install_element(GSMNET_NODE, &cfg_net_neci_cmd);