diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:47:03 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:47:06 +0200 |
commit | 2728abf9d973ea75b0446432030575b27f40e21a (patch) | |
tree | 1f35d8621da9f4cf92f846cf22b466a9cbc03bbd /stp | |
parent | 21647846705f402ae182a4a7a9ea74fc88b62149 (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.
Related: OS#4138
Change-Id: Iedd11f816002b686f0ddb54c0cf7ba4e229e21e3
Diffstat (limited to 'stp')
-rw-r--r-- | stp/stp_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stp/stp_main.c b/stp/stp_main.c index ff33959..a3e3a85 100644 --- a/stp/stp_main.c +++ b/stp/stp_main.c @@ -177,7 +177,7 @@ int main(int argc, char **argv) osmo_ss7_init(); osmo_fsm_log_addr(false); - logging_vty_add_cmds(&log_info); + logging_vty_add_cmds(); osmo_stats_vty_add_cmds(); osmo_ss7_vty_init_sg(tall_stp_ctx); osmo_sccp_vty_init(); |