diff options
author | Max <msuraev@sysmocom.de> | 2018-01-26 13:31:42 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-27 22:27:53 +0100 |
commit | 6d6dea05a38200d5184e8df30326b4cc65f4f692 (patch) | |
tree | 8f9ba01c6bb5467ee6d6f325e4f8c6754f427c8e /src/tbf.cpp | |
parent | 6d026d26cd54a3a0096fd95fbafa1c7411a5aa0f (diff) |
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
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r-- | src/tbf.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp index 8cfca3a9..74f2cd86 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 @@ extern "C" { #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> |