[PATCH 5/6] fix some "implicit declaration" warnings in libbsc

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Huemer alexander.huemer at xx.vu
Sun Sep 4 22:32:37 UTC 2011


---
 openbsc/include/openbsc/libbsc/e1_config.h |   11 +++++++++++
 openbsc/src/libbsc/bsc_init.c              |    2 ++
 2 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 openbsc/include/openbsc/libbsc/e1_config.h

diff --git a/openbsc/include/openbsc/libbsc/e1_config.h b/openbsc/include/openbsc/libbsc/e1_config.h
new file mode 100644
index 0000000..6cf455c
--- /dev/null
+++ b/openbsc/include/openbsc/libbsc/e1_config.h
@@ -0,0 +1,11 @@
+#ifndef _E1_CONFIG_H
+#define _E1_CONFIG_H
+
+#include <openbsc/libcommon/gsm_data_shared.h>
+
+int e1_reconfig_ts(struct gsm_bts_trx_ts *ts);
+int e1_reconfig_trx(struct gsm_bts_trx *trx);
+int e1_reconfig_bts(struct gsm_bts *bts);
+
+#endif /* _E1_CONFIG_H */
+
diff --git a/openbsc/src/libbsc/bsc_init.c b/openbsc/src/libbsc/bsc_init.c
index ae4318b..77fa53f 100644
--- a/openbsc/src/libbsc/bsc_init.c
+++ b/openbsc/src/libbsc/bsc_init.c
@@ -33,6 +33,8 @@
 #include <openbsc/libbsc/chan_alloc.h>
 #include <osmocom/core/talloc.h>
 #include <openbsc/ipaccess.h>
+#include <osmocom/gsm/sysinfo.h>
+#include <openbsc/libbsc/e1_config.h>
 
 /* global pointer to the gsm network data structure */
 extern struct gsm_network *bsc_gsmnet;
-- 
1.7.6.1





More information about the OpenBSC mailing list