From db0e380558fa03229d981dc358db98d5b781cbe5 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 12 Jan 2017 19:35:11 +0100 Subject: vty: remove ignored logging parameters Since ce9fec3e896571835ac5bfd2980d6836f2b29f0d libosmocore ignores parameters to log_vty_command_* functions. Hence parameter of logging_vty_add_cmds() is ignored too. As we depend on much later libosmocore version anyway, we can simplify code somewhat by removing parameters which will be ignored anyway. Change-Id: I62f752fd88f1d8fefa563648f9864c7c31f87991 --- openbsc/include/openbsc/vty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/include/openbsc/vty.h') diff --git a/openbsc/include/openbsc/vty.h b/openbsc/include/openbsc/vty.h index ad2cd2a8a..f79eab582 100644 --- a/openbsc/include/openbsc/vty.h +++ b/openbsc/include/openbsc/vty.h @@ -44,7 +44,7 @@ extern int bsc_vty_is_config_node(struct vty *vty, int node); extern void bsc_replace_string(void *ctx, char **dst, const char *newstr); struct log_info; -int bsc_vty_init(const struct log_info *cat, struct gsm_network *network); +int bsc_vty_init(struct gsm_network *network); int bsc_vty_init_extra(void); struct gsm_network *gsmnet_from_vty(struct vty *vty); -- cgit v1.2.3