aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 21:51:30 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 23:55:27 +0200
commitc42bf5fdf5e933413ec0a480d5a2de42538e9c80 (patch)
tree12633b9c57542bd3bb16ba7ebd9df24487ce9c3e
parentca71d07e449c960ab6d1c7da5f3f43b62426a449 (diff)
sysmobts: Simplify some includes/dependencies
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr.c15
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c1
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_misc.c4
3 files changed, 1 insertions, 19 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
index cc56649..55a270b 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr.c
@@ -26,22 +26,18 @@
#include <errno.h>
#include <getopt.h>
#include <limits.h>
-#include <arpa/inet.h>
#include <sys/signal.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <osmocom/core/talloc.h>
#include <osmocom/core/application.h>
#include <osmocom/core/timer.h>
#include <osmocom/core/msgb.h>
-#include <osmocom/core/serial.h>
#include <osmocom/vty/telnet_interface.h>
#include <osmocom/vty/logging.h>
#include "misc/sysmobts_misc.h"
#include "misc/sysmobts_mgr.h"
-#include "misc/sysmobts_nl.h"
#include "misc/sysmobts_par.h"
static int bts_type;
@@ -202,17 +198,6 @@ static void signal_handler(int signal)
}
}
-#include <osmocom/core/logging.h>
-#include <osmocom/core/application.h>
-#include <osmocom/core/utils.h>
-#include <osmocom/core/socket.h>
-
-#include <osmocom/gsm/protocol/ipaccess.h>
-#include <osmocom/gsm/tlv.h>
-
-#include <osmo-bts/bts.h>
-#include <osmo-bts/logging.h>
-
static struct log_info_cat mgr_log_info_cat[] = {
[DTEMP] = {
.name = "DTEMP",
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
index 4e0b6cd..dcb1eae 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
@@ -25,6 +25,7 @@
#include <osmocom/core/logging.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/timer.h>
+#include <osmocom/core/serial.h>
#include <errno.h>
#include <unistd.h>
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_misc.c b/src/osmo-bts-sysmo/misc/sysmobts_misc.c
index 94f7385..d996d64 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_misc.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_misc.c
@@ -42,10 +42,6 @@
#include "sysmobts_par.h"
#include "sysmobts_mgr.h"
-#ifdef BUILD_SBTS2050
-#include <sysmocom/femtobts/sbts2050_header.h>
-#endif
-
/*********************************************************************
* Temperature handling
*********************************************************************/