mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
removing unused header includes
This commit is contained in:
parent
c36314f67a
commit
cec7b33afb
@ -2,16 +2,9 @@
|
|||||||
|
|
||||||
#include "osquery/config/plugin.h"
|
#include "osquery/config/plugin.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <streambuf>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#include <boost/filesystem/operations.hpp>
|
#include <boost/filesystem/operations.hpp>
|
||||||
#include <boost/filesystem/path.hpp>
|
|
||||||
|
|
||||||
#include <gflags/gflags.h>
|
|
||||||
#include <glog/logging.h>
|
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
using osquery::Status;
|
using osquery::Status;
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
#include "osquery/core/darwin/test_util.h"
|
#include "osquery/core/darwin/test_util.h"
|
||||||
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
#include <boost/property_tree/json_parser.hpp>
|
#include <boost/property_tree/json_parser.hpp>
|
||||||
|
|
||||||
using namespace osquery::db;
|
using namespace osquery::db;
|
||||||
|
@ -21,6 +21,7 @@ TEST_F(TextTests, test_split) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
google::InitGoogleLogging(argv[0]);
|
||||||
testing::InitGoogleTest(&argc, argv);
|
testing::InitGoogleTest(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
|
@ -2,14 +2,8 @@
|
|||||||
|
|
||||||
#include "osquery/database/db_handle.h"
|
#include "osquery/database/db_handle.h"
|
||||||
|
|
||||||
#include <algorithm>
|
|
||||||
#include <stdexcept>
|
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <rocksdb/version.h>
|
|
||||||
|
|
||||||
#include "osquery/status.h"
|
|
||||||
|
|
||||||
using osquery::Status;
|
using osquery::Status;
|
||||||
|
|
||||||
|
@ -7,9 +7,7 @@
|
|||||||
#include "osquery/config.h"
|
#include "osquery/config.h"
|
||||||
#include "osquery/config/plugin.h"
|
#include "osquery/config/plugin.h"
|
||||||
#include "osquery/core.h"
|
#include "osquery/core.h"
|
||||||
#include "osquery/logger.h"
|
|
||||||
#include "osquery/logger/plugin.h"
|
#include "osquery/logger/plugin.h"
|
||||||
#include "osquery/registry.h"
|
|
||||||
#include "osquery/scheduler.h"
|
#include "osquery/scheduler.h"
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
@ -1,19 +1,16 @@
|
|||||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
|
|
||||||
#include <IOKit/IOKitLib.h>
|
#include <IOKit/IOKitLib.h>
|
||||||
#include <IOKit/IOKitKeys.h>
|
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
#include "osquery/core.h"
|
#include "osquery/core.h"
|
||||||
#include "osquery/database.h"
|
|
||||||
|
|
||||||
using namespace osquery::core;
|
using namespace osquery::core;
|
||||||
using namespace osquery::db;
|
using namespace osquery::db;
|
||||||
|
Loading…
Reference in New Issue
Block a user