From 94b1dce6d1580ecd842ca2c24257009b0d9ab051 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 5 Aug 2019 16:23:20 +0200 Subject: 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 --- src/host/layer23/src/mobile/app_mobile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/host/layer23') 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; -- cgit v1.2.3