mirror of https://gerrit.osmocom.org/libosmocore
tests: logging: Remove undefined param passed to logging_vty_add_cmds
Since March 15th 2017, libosmocore API logging_vty_add_cmds() had its
parameter removed (c65c5b4ea0
). 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: Iaea795521361a8e5b3b45eaeb35e6eda69163af3
This commit is contained in:
parent
c21ba15b70
commit
f65278f807
|
@ -246,7 +246,7 @@ int main(int argc, char **argv)
|
|||
|
||||
handle_options(argc, argv);
|
||||
|
||||
logging_vty_add_cmds(&log_info);
|
||||
logging_vty_add_cmds();
|
||||
osmo_talloc_vty_add_cmds();
|
||||
|
||||
log_set_print_category(osmo_stderr_target, 1);
|
||||
|
|
Loading…
Reference in New Issue