diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-08 14:41:50 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-08 14:41:50 +0200 |
commit | 135eb2f993346c5cbc360b4bb874381cf73ecc24 (patch) | |
tree | e3fd0c8a20a7f5bc7b6ae26fb8efde2110bd2371 /configd/src | |
parent | 18d779a4cf527c22b3898a6501cb266505c77ee0 (diff) |
Reduce exposure to config internals.
Diffstat (limited to 'configd/src')
-rw-r--r-- | configd/src/apps/sentinel/sentinel.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/configd/src/apps/sentinel/sentinel.cpp b/configd/src/apps/sentinel/sentinel.cpp index fed65c7fbab..d557cc04993 100644 --- a/configd/src/apps/sentinel/sentinel.cpp +++ b/configd/src/apps/sentinel/sentinel.cpp @@ -1,19 +1,15 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <sys/types.h> +#include <vespa/config/common/exceptions.h> #include <signal.h> -#include <cstring> #include <unistd.h> #include <sys/time.h> - #include <vespa/defaults.h> +#include "config-handler.h" + #include <vespa/log/log.h> LOG_SETUP("config-sentinel"); -#include <vespa/config-sentinel.h> - -#include "config-handler.h" - using namespace config; constexpr uint64_t CONFIG_TIMEOUT_MS = 3 * 60 * 1000; |