Skip to content

Commit b3900de

Browse files
Alexander Antonovrdementi
authored andcommitted
Cosmetic changes in pcm-iio.cpp
1 parent c462ca4 commit b3900de

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/pcm-iio.cpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
// Aaron Cruz
66
// and others
77
#include "cpucounters.h"
8+
89
#ifdef _MSC_VER
9-
#pragma warning(disable : 4996) // for sprintf
10-
#include <windows.h>
11-
#include "windows/windriver.h"
10+
#pragma warning(disable : 4996) // for sprintf
11+
#include <windows.h>
12+
#include "windows/windriver.h"
1213
#else
13-
#include <unistd.h>
14+
#include <unistd.h>
1415
#endif
16+
1517
#include <memory>
1618
#include <fstream>
1719
#include <stdlib.h>
@@ -20,8 +22,10 @@
2022
#include <cstdint>
2123
#include <numeric>
2224
#include <algorithm>
25+
#include <set>
26+
2327
#ifdef _MSC_VER
24-
#include "freegetopt/getopt.h"
28+
#include "freegetopt/getopt.h"
2529
#endif
2630

2731
#include "lspci.h"
@@ -465,7 +469,6 @@ typedef struct
465469

466470
vector<string> combine_stack_name_and_counter_names(string stack_name, const map<string,std::pair<h_id,std::map<string,v_id>>> &nameMap)
467471
{
468-
469472
vector<string> v;
470473
vector<string> tmp(nameMap.size());
471474
v.push_back(stack_name);
@@ -521,7 +524,6 @@ string build_pci_header(const PCIDB & pciDB, uint32_t column_width, const struct
521524
s.insert(0, std::string(4*level, ' '));
522525
}
523526

524-
525527
return s;
526528
}
527529

0 commit comments

Comments
 (0)