diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-23 21:42:57 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-31 00:37:47 +0200 |
commit | f2c1f25612d97be3d2b77812b16fb3a3706617aa (patch) | |
tree | 10b2d22a2c9855c52ee77062745a43d1dc7d0a76 | |
parent | 4e318f5938ea6b1049d1e19d1e3f284eafe48cf7 (diff) |
abis: Get the structs and values from libosmocore
Remove the forward declarations for functions and structs
that have been moved to libosmocore.
-rw-r--r-- | openbsc/include/openbsc/abis_nm.h | 6 | ||||
-rw-r--r-- | 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 <arpa/inet.h> +#include <osmocom/gsm/abis_nm.h> + #include <openbsc/gsm_data.h> #include <osmocom/core/msgb.h> #include <osmocom/gsm/tlv.h> |