diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 16:23:20 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 16:24:40 +0200 |
commit | 94b1dce6d1580ecd842ca2c24257009b0d9ab051 (patch) | |
tree | 7bd1e4e01e32a90834ea060214da43dcfe34cc7e /src/host/layer23 | |
parent | fe981d65da24e62573acd91e9d86e7b37ef12bb7 (diff) |
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
Diffstat (limited to 'src/host/layer23')
-rw-r--r-- | src/host/layer23/src/mobile/app_mobile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index d7c65f05..f0f118b6 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -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; |