path: root/tests
diff options
authorMax <msuraev@sysmocom.de>2018-01-26 13:31:42 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-19 08:43:46 +0000
commit1187a7719c07476b9926c2fcafa64a6e003550d9 (patch)
tree971995dfc4292ff302a4d088364d615a120de3a0 /tests
parent910a387b0eefa22308446eda7604468ab1a157ad (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 'tests')
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/edge/EdgeTest.cpp b/tests/edge/EdgeTest.cpp
index 1abdcfd..eb9ef42 100644
--- a/tests/edge/EdgeTest.cpp
+++ b/tests/edge/EdgeTest.cpp
@@ -27,6 +27,8 @@
#include "rlc.h"
#include "llc.h"
#include "bts.h"
+#include <gprs_rlcmac.h>
extern "C" {
#include "pcu_vty.h"
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index d4702f2..fb9158f 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -27,6 +27,7 @@
#include "gprs_bssgp_pcu.h"
#include "pcu_l1_if.h"
#include "decoding.h"
+#include <gprs_rlcmac.h>
extern "C" {
#include "pcu_vty.h"