From f2c1f25612d97be3d2b77812b16fb3a3706617aa Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 23 May 2011 21:42:57 +0200 Subject: [PATCH] abis: Get the structs and values from libosmocore Remove the forward declarations for functions and structs that have been moved to libosmocore. --- openbsc/include/openbsc/abis_nm.h | 6 ------ openbsc/src/libbsc/abis_nm_vty.c | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/openbsc/include/openbsc/abis_nm.h b/openbsc/include/openbsc/abis_nm.h index 5f11c459d..ef6060599 100644 --- a/openbsc/include/openbsc/abis_nm.h +++ b/openbsc/include/openbsc/abis_nm.h @@ -53,10 +53,6 @@ struct ipac_bcch_info { uint8_t ca_list_si1[16]; }; -extern const struct value_string abis_nm_adm_state_names[]; -extern const struct value_string abis_nm_obj_class_names[]; -extern const struct tlv_definition nm_att_tlvdef; - /* PUBLIC */ struct msgb; @@ -159,8 +155,6 @@ int ipac_parse_bcch_info(struct ipac_bcch_info *binf, uint8_t *buf); const char *ipacc_testres_name(uint8_t res); /* Functions calling into other code parts */ -const char *nm_opstate_name(uint8_t os); -const char *nm_avail_name(uint8_t avail); int nm_is_running(struct gsm_nm_state *s); int abis_nm_vty_init(void); diff --git a/openbsc/src/libbsc/abis_nm_vty.c b/openbsc/src/libbsc/abis_nm_vty.c index 3a16b2b7f..bcbc92d65 100644 --- a/openbsc/src/libbsc/abis_nm_vty.c +++ b/openbsc/src/libbsc/abis_nm_vty.c @@ -26,6 +26,8 @@ #include +#include + #include #include #include