summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 14:10:43 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 14:10:45 +0200
commitf65278f807da1a5af6b9b76d943c64cb18ebc7c2 (patch)
tree78148b9659676c4a84e3871e818ff74308044d99
parentc21ba15b70504df175a611a75a1c4d3b52aa1f03 (diff)
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 (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: Iaea795521361a8e5b3b45eaeb35e6eda69163af3
-rw-r--r--tests/logging/logging_vty_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging/logging_vty_test.c b/tests/logging/logging_vty_test.c
index 806a460c..30426f39 100644
--- a/tests/logging/logging_vty_test.c
+++ b/tests/logging/logging_vty_test.c
@@ -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);