Update header includes
Many files include unnecessary headers and don't include headers which
are actually used. Because of that combined with the fact that OsmoPCU
is a mixture of C and C++, it makes it hard to modularize code. Fix
this (using iwyu [1] tool):
* add missing headers
* remove unused headers
[1] https://include-what-you-use.org/
Related: OS#1539
Change-Id: I8c9f488a43b099c72b2d30d3245e7ba50872fc00
diff --git a/src/tbf.cpp b/src/tbf.cpp
index 8cfca3a..74f2cd8 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -25,10 +25,13 @@
#include <encoding.h>
#include <gprs_rlcmac.h>
#include <gprs_debug.h>
-#include <gprs_bssgp_pcu.h>
#include <gprs_ms.h>
-#include <decoding.h>
#include <pcu_utils.h>
+#include <gprs_ms_storage.h>
+#include <gsm_rlcmac.h>
+#include <sba.h>
+#include <gprs_coding_scheme.h>
+#include <gsm_timer.h>
extern "C" {
#include <osmocom/core/msgb.h>
@@ -36,6 +39,9 @@
#include <osmocom/core/talloc.h>
#include <osmocom/core/stats.h>
#include <osmocom/core/logging.h>
+ #include <osmocom/core/bitvec.h>
+ #include <osmocom/core/rate_ctr.h>
+ #include <osmocom/gsm/protocol/gsm_04_08.h>
}
#include <errno.h>