summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2011-09-06 00:09:50 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-06 09:32:14 +0200
commite1d2e1c74c3027edf2bfb21f014f54ac89f5825b (patch)
tree38ef60cc16050b0f14de870db6f30603a7a5ccad
parent0a65461065ec53f22a4171a00d3c566cceabdcad (diff)
fix some "implicit declaration" warnings in libbsc
-rw-r--r--openbsc/include/openbsc/e1_config.h11
-rw-r--r--openbsc/src/libbsc/bsc_init.c2
2 files changed, 13 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/e1_config.h b/openbsc/include/openbsc/e1_config.h
new file mode 100644
index 000000000..538c0b09d
--- /dev/null
+++ b/openbsc/include/openbsc/e1_config.h
@@ -0,0 +1,11 @@
+#ifndef _E1_CONFIG_H
+#define _E1_CONFIG_H
+
+#include <openbsc/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 84dfa6e80..28f32cca6 100644
--- a/openbsc/src/libbsc/bsc_init.c
+++ b/openbsc/src/libbsc/bsc_init.c
@@ -33,6 +33,8 @@
#include <openbsc/chan_alloc.h>
#include <osmocom/core/talloc.h>
#include <openbsc/ipaccess.h>
+#include <osmocom/gsm/sysinfo.h>
+#include <openbsc/e1_config.h>
/* global pointer to the gsm network data structure */
extern struct gsm_network *bsc_gsmnet;