diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:30:44 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-08-05 14:30:47 +0200 |
commit | cd2ac56bd4f6cb783c2f826686a0809d7d2327f3 (patch) | |
tree | 3e2d32f1222d942944fbbbde2c9c55d3883a9d5b /src/pcu_vty.h | |
parent | 2c076bcb4dc1bc2ada340441c2f898c55318209f (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.
Related: OS#4138
Change-Id: Ic1ac815eafab49577ff883a5d700ecca5936d216
Diffstat (limited to 'src/pcu_vty.h')
-rw-r--r-- | src/pcu_vty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcu_vty.h b/src/pcu_vty.h index a0753501..20975612 100644 --- a/src/pcu_vty.h +++ b/src/pcu_vty.h @@ -12,7 +12,7 @@ enum pcu_vty_node { int pcu_vty_go_parent(struct vty *vty); int pcu_vty_is_config_node(struct vty *vty, int node); -int pcu_vty_init(const struct log_info *cat); +int pcu_vty_init(); extern struct vty_app_info pcu_vty_info; |