aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 16:12:04 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-05 16:13:09 +0200
commitb4d8f5cf136fdf8ad444cc9547c7f60803e20711 (patch)
tree117eac612eadf5af8c41f8e735913cfc5e0d02eb /include/osmo-bts
parentcb0cb897add108689c6dc0100ac415b04c006445 (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. Change-Id: Ia4d1a7914308d1481fe31fe0986265ead339e61e Related: OS#4138
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-bts/vty.h b/include/osmo-bts/vty.h
index d90a989d..eab58d6d 100644
--- a/include/osmo-bts/vty.h
+++ b/include/osmo-bts/vty.h
@@ -25,7 +25,7 @@ struct phy_instance *vty_get_phy_instance(struct vty *vty, int phy_nr, int inst_
int bts_vty_go_parent(struct vty *vty);
int bts_vty_is_config_node(struct vty *vty, int node);
-int bts_vty_init(struct gsm_bts *bts, const struct log_info *cat);
+int bts_vty_init(struct gsm_bts *bts);
struct gsm_network *gsmnet_from_vty(struct vty *v);