Skip to content

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 13, 2023
1 parent 20c2087 commit 42c92ce
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
11 changes: 0 additions & 11 deletions src/Ieee80211Header.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,9 @@
#define __WIFIBROADCAST_IEEE80211_HEADER_HPP__

#include <endian.h>
#include <fcntl.h>
#include <getopt.h>
#include <resolv.h>
#include <sys/mman.h>
#include <unistd.h>
#include <utime.h>

#include <array>
#include <cassert>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
Expand Down
9 changes: 1 addition & 8 deletions src/RadiotapHeader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ extern "C" {
};

#include <endian.h>
#include <fcntl.h>
#include <getopt.h>
#include <pcap.h>
#include <resolv.h>
#include <sys/mman.h>
#include <unistd.h>
#include <utime.h>

#include <cassert>
#include <cerrno>
Expand All @@ -23,7 +16,6 @@ extern "C" {
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
Expand Down Expand Up @@ -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: [";
Expand Down
1 change: 1 addition & 0 deletions src/WBTxRx.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#ifndef WIFIBROADCAST_WBTXRX_H
#define WIFIBROADCAST_WBTXRX_H

#include <pcap/pcap.h>
#include <sys/poll.h>

#include <atomic>
Expand Down

0 comments on commit 42c92ce

Please sign in to comment.