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.

Change-Id: I25baaa30b097dad2fae507c5321778f43e863611
Related: OS#4138
This commit is contained in:
Pau Espin 2019-08-05 16:23:20 +02:00
parent fe981d65da
commit 94b1dce6d1
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ int l23_app_init(int (*mncc_recv)(struct osmocom_ms *ms, int, void *),
vty_info.tall_ctx = l23_ctx;
vty_init(&vty_info);
logging_vty_add_cmds(NULL);
logging_vty_add_cmds();
ms_vty_init();
dummy_conn.priv = NULL;
vty_reading = 1;