diff options
author | Max <msuraev@sysmocom.de> | 2018-01-26 13:31:42 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-19 08:43:46 +0000 |
commit | 1187a7719c07476b9926c2fcafa64a6e003550d9 (patch) | |
tree | 971995dfc4292ff302a4d088364d615a120de3a0 /src/tbf_dl.cpp | |
parent | 910a387b0eefa22308446eda7604468ab1a157ad (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_dl.cpp')
-rw-r--r-- | src/tbf_dl.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index dc4fa6ae..c92bfdfa 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -28,18 +28,28 @@ #include <gprs_codel.h> #include <decoding.h> #include <encoding.h> - +#include <gprs_coding_scheme.h> +#include <gprs_ms.h> +#include <gprs_ms_storage.h> +#include <llc.h> #include "pcu_utils.h" extern "C" { #include <osmocom/core/msgb.h> #include <osmocom/core/talloc.h> #include <osmocom/gprs/gprs_bssgp_bss.h> + #include <osmocom/core/bitvec.h> + #include <osmocom/core/linuxlist.h> + #include <osmocom/core/logging.h> + #include <osmocom/core/rate_ctr.h> + #include <osmocom/core/timer.h> + #include <osmocom/core/utils.h> + #include <osmocom/gsm/gsm_utils.h> + #include <osmocom/gsm/protocol/gsm_04_08.h> } #include <errno.h> #include <string.h> -#include <math.h> /* After sending these frames, we poll for ack/nack. */ #define POLL_ACK_AFTER_FRAMES 20 |