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/gprs_rlcmac_sched.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/gprs_rlcmac_sched.cpp')
-rw-r--r-- | src/gprs_rlcmac_sched.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp index ebf4714c..e4e40b1f 100644 --- a/src/gprs_rlcmac_sched.cpp +++ b/src/gprs_rlcmac_sched.cpp @@ -22,9 +22,16 @@ #include <pcu_l1_if.h> #include <bts.h> #include <tbf.h> - +#include <gprs_debug.h> +#include <gprs_ms.h> +#include <rlc.h> +#include <sba.h> #include "pcu_utils.h" +extern "C" { + #include <osmocom/core/gsmtap.h> +} + static uint32_t sched_poll(BTS *bts, uint8_t trx, uint8_t ts, uint32_t fn, uint8_t block_nr, struct gprs_rlcmac_tbf **poll_tbf, |