From 1187a7719c07476b9926c2fcafa64a6e003550d9 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 26 Jan 2018 13:31:42 +0100 Subject: 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 --- src/tbf.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/tbf.h') diff --git a/src/tbf.h b/src/tbf.h index 2ed63f97..239b8fdc 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -20,20 +20,23 @@ #ifdef __cplusplus -#include "gprs_rlcmac.h" #include "llc.h" #include "rlc.h" #include "cxx_linuxlist.h" #include - +#include +#include #include extern "C" { #include + #include + #include + #include } struct bssgp_bvc_ctx; -struct pcu_l1_meas; class GprsMs; +struct gprs_rlcmac_bts; /* * TBF instance -- cgit v1.2.3