From 42c92ce497582bd836cdb05cb59975908e04511d Mon Sep 17 00:00:00 2001 From: consti10 Date: Sun, 13 Aug 2023 23:13:31 +0200 Subject: [PATCH] optimize imports --- src/Ieee80211Header.hpp | 11 ----------- src/RadiotapHeader.hpp | 9 +-------- src/WBTxRx.h | 1 + 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/Ieee80211Header.hpp b/src/Ieee80211Header.hpp index 947f6c9f..0b595fa0 100644 --- a/src/Ieee80211Header.hpp +++ b/src/Ieee80211Header.hpp @@ -2,20 +2,9 @@ #define __WIFIBROADCAST_IEEE80211_HEADER_HPP__ #include -#include -#include -#include -#include -#include -#include #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/src/RadiotapHeader.hpp b/src/RadiotapHeader.hpp index bb10cb29..7c282999 100644 --- a/src/RadiotapHeader.hpp +++ b/src/RadiotapHeader.hpp @@ -8,13 +8,6 @@ extern "C" { }; #include -#include -#include -#include -#include -#include -#include -#include #include #include @@ -23,7 +16,6 @@ extern "C" { #include #include #include -#include #include #include #include @@ -160,6 +152,7 @@ static_assert(sizeof(RadiotapHeader) == RadiotapHeader::SIZE_BYTES, "ALWAYS TRUE static_assert(sizeof(RadiotapHeaderWithTxFlagsAndMCS) == RadiotapHeader::SIZE_BYTES, "ALWAYS TRUE"); namespace RadiotapHelper { + static std::string toStringRadiotapFlags(uint8_t flags) { std::stringstream ss; ss << "All IEEE80211_RADIOTAP flags: ["; diff --git a/src/WBTxRx.h b/src/WBTxRx.h index 75e49b6c..736542d5 100644 --- a/src/WBTxRx.h +++ b/src/WBTxRx.h @@ -5,6 +5,7 @@ #ifndef WIFIBROADCAST_WBTXRX_H #define WIFIBROADCAST_WBTXRX_H +#include #include #include