From 086c3f3c674a276205a793300c80802d2355cabd Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 22 Mar 2018 14:56:20 +0100 Subject: [PATCH] cosmetic: mgcp, legacy_mgcp: drop unused vty.h definitions Change-Id: I38e279ed175259e6d36c0e69d6a352506face014 --- include/osmocom/legacy_mgcp/vty.h | 25 +------------------------ include/osmocom/mgcp/vty.h | 25 +------------------------ 2 files changed, 2 insertions(+), 48 deletions(-) diff --git a/include/osmocom/legacy_mgcp/vty.h b/include/osmocom/legacy_mgcp/vty.h index c277c0aa9..bf6b7a85e 100644 --- a/include/osmocom/legacy_mgcp/vty.h +++ b/include/osmocom/legacy_mgcp/vty.h @@ -1,31 +1,8 @@ -#ifndef OPENBSC_VTY_H -#define OPENBSC_VTY_H +#pragma once -#include -#include #include -struct gsm_network; -struct vty; - -void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *); - -struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); - -extern struct cmd_element cfg_description_cmd; -extern struct cmd_element cfg_no_description_cmd; - enum mgcp_vty_node { MGCP_NODE = _LAST_OSMOVTY_NODE + 1, TRUNK_NODE, }; - -struct log_info; -int bsc_vty_init(struct gsm_network *network); -int bsc_vty_init_extra(void); - -void msc_vty_init(struct gsm_network *msc_network); - -struct gsm_network *gsmnet_from_vty(struct vty *vty); - -#endif diff --git a/include/osmocom/mgcp/vty.h b/include/osmocom/mgcp/vty.h index c277c0aa9..bf6b7a85e 100644 --- a/include/osmocom/mgcp/vty.h +++ b/include/osmocom/mgcp/vty.h @@ -1,31 +1,8 @@ -#ifndef OPENBSC_VTY_H -#define OPENBSC_VTY_H +#pragma once -#include -#include #include -struct gsm_network; -struct vty; - -void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *); - -struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base); - -extern struct cmd_element cfg_description_cmd; -extern struct cmd_element cfg_no_description_cmd; - enum mgcp_vty_node { MGCP_NODE = _LAST_OSMOVTY_NODE + 1, TRUNK_NODE, }; - -struct log_info; -int bsc_vty_init(struct gsm_network *network); -int bsc_vty_init_extra(void); - -void msc_vty_init(struct gsm_network *msc_network); - -struct gsm_network *gsmnet_from_vty(struct vty *vty); - -#endif