aboutsummaryrefslogtreecommitdiffstats
path: root/src/hlr_vty.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 15:57:10 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 15:57:13 +0200
commite49391bfc44f604cdbc5cb35fc5ea9f4d0e6052a (patch)
treeceadb245fb6d9b74769bbdafb65d4c86dbda79d6 /src/hlr_vty.c
parentfbd736ef3745a19d085823b5c81632100db5162f (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. Related: OS#4138 Change-Id: I6d0dbbd83ce17ee798bfb6e30378ed1dbae19134
Diffstat (limited to 'src/hlr_vty.c')
-rw-r--r--src/hlr_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hlr_vty.c b/src/hlr_vty.c
index e6567cc..f7c5bc8 100644
--- a/src/hlr_vty.c
+++ b/src/hlr_vty.c
@@ -429,9 +429,9 @@ int hlr_vty_is_config_node(struct vty *vty, int node)
}
}
-void hlr_vty_init(const struct log_info *cat)
+void hlr_vty_init(void)
{
- logging_vty_add_cmds(cat);
+ logging_vty_add_cmds();
osmo_talloc_vty_add_cmds();
osmo_stats_vty_add_cmds();