aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 12:20:41 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 15:32:58 +0200
commitf8ce3307a63b5c5d8ad8aaadfcce92e602b0cae7 (patch)
tree1fb8b8a5e10b55d97e23791d8e028a9e5cc19bdb /searchlib/src/apps
parent25829c28d04e811c46366eb57de584d042961619 (diff)
Reduce fastos.h dependency.
Diffstat (limited to 'searchlib/src/apps')
-rw-r--r--searchlib/src/apps/expgolomb/expgolomb.cpp2
-rw-r--r--searchlib/src/apps/uniform/uniform.cpp2
-rw-r--r--searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp6
-rw-r--r--searchlib/src/apps/vespa-ranking-expression-analyzer/vespa-ranking-expression-analyzer.cpp8
4 files changed, 6 insertions, 12 deletions
diff --git a/searchlib/src/apps/expgolomb/expgolomb.cpp b/searchlib/src/apps/expgolomb/expgolomb.cpp
index 2883a0ca392..81aa566305c 100644
--- a/searchlib/src/apps/expgolomb/expgolomb.cpp
+++ b/searchlib/src/apps/expgolomb/expgolomb.cpp
@@ -1,6 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
+#include <vespa/fastos/app.h>
#include <vespa/searchlib/bitcompression/compression.h>
#include <vector>
diff --git a/searchlib/src/apps/uniform/uniform.cpp b/searchlib/src/apps/uniform/uniform.cpp
index 782f072a7b0..8fb6b2af0ca 100644
--- a/searchlib/src/apps/uniform/uniform.cpp
+++ b/searchlib/src/apps/uniform/uniform.cpp
@@ -1,6 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
+#include <vespa/fastos/app.h>
#include <vespa/searchlib/bitcompression/compression.h>
diff --git a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
index f5d2be65d6b..d0f7c8e1623 100644
--- a/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
+++ b/searchlib/src/apps/vespa-index-inspect/vespa-index-inspect.cpp
@@ -1,6 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
#include <vespa/searchlib/index/dictionaryfile.h>
#include <vespa/searchlib/index/postinglistfile.h>
#include <vespa/searchlib/bitcompression/compression.h>
@@ -15,7 +14,9 @@
#include <vespa/searchlib/queryeval/searchiterator.h>
#include <vespa/searchlib/fef/termfieldmatchdata.h>
#include <vespa/searchlib/fef/termfieldmatchdataarray.h>
+#include <vespa/fastos/app.h>
#include <iostream>
+
#include <vespa/log/log.h>
LOG_SETUP("vespa-index-inspect");
@@ -41,8 +42,7 @@ using search::index::schema::DataType;
using search::queryeval::SearchIterator;
using namespace search::index;
-namespace
-{
+namespace {
/**
* Fine granularity, for small scale inversion within a single document.
diff --git a/searchlib/src/apps/vespa-ranking-expression-analyzer/vespa-ranking-expression-analyzer.cpp b/searchlib/src/apps/vespa-ranking-expression-analyzer/vespa-ranking-expression-analyzer.cpp
index e97887c107e..ccfbf4c0e14 100644
--- a/searchlib/src/apps/vespa-ranking-expression-analyzer/vespa-ranking-expression-analyzer.cpp
+++ b/searchlib/src/apps/vespa-ranking-expression-analyzer/vespa-ranking-expression-analyzer.cpp
@@ -1,23 +1,17 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <map>
#include <vespa/searchlib/features/rankingexpression/feature_name_extractor.h>
-#include <vector>
#include <vespa/eval/eval/llvm/compiled_function.h>
-#include <vespa/eval/eval/function.h>
#include <vespa/eval/eval/interpreted_function.h>
-#include <vespa/eval/eval/basic_nodes.h>
#include <vespa/eval/eval/call_nodes.h>
#include <vespa/eval/eval/operator_nodes.h>
#include <vespa/vespalib/util/benchmark_timer.h>
-#include <vespa/eval/eval/gbdt.h>
#include <vespa/eval/eval/vm_forest.h>
#include <vespa/eval/eval/llvm/deinline_forest.h>
#include <vespa/eval/tensor/default_tensor_engine.h>
#include <vespa/vespalib/io/mapped_file_input.h>
#include <vespa/eval/eval/param_usage.h>
-#include <cmath>
+#include <vespa/fastos/app.h>
//-----------------------------------------------------------------------------