removing unused header includes

This commit is contained in:
mike@arpaia.co 2014-09-09 18:43:27 -07:00
parent c36314f67a
commit cec7b33afb
6 changed files with 1 additions and 20 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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();
} }

View File

@ -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;

View File

@ -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[]) {

View File

@ -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;