diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:30:44 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:30:47 +0200 |
commit | cd2ac56bd4f6cb783c2f826686a0809d7d2327f3 (patch) | |
tree | 3e2d32f1222d942944fbbbde2c9c55d3883a9d5b /tests/ms/MsTest.cpp | |
parent | 2c076bcb4dc1bc2ada340441c2f898c55318209f (diff) |
Remove undefined param passed to {logging,osmo_stats}_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.
API osmo_stats_vty_add_cmds never had a param list but has seem problem
(no "void"), so some users decided to pass a parameter to it.
Related: OS#4138
Change-Id: Ic1ac815eafab49577ff883a5d700ecca5936d216
Diffstat (limited to 'tests/ms/MsTest.cpp')
-rw-r--r-- | tests/ms/MsTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ms/MsTest.cpp b/tests/ms/MsTest.cpp index 4f8f3a00..c74b3a65 100644 --- a/tests/ms/MsTest.cpp +++ b/tests/ms/MsTest.cpp @@ -616,7 +616,7 @@ int main(int argc, char **argv) log_parse_category_mask(osmo_stderr_target, "DPCU,3:DRLCMAC,3"); vty_init(&pcu_vty_info); - pcu_vty_init(&gprs_log_info); + pcu_vty_init(); test_ms_state(); test_ms_callback(); |