summaryrefslogtreecommitdiffstats
path: root/slobrok/src/apps/check_slobrok/check_slobrok.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slobrok/src/apps/check_slobrok/check_slobrok.cpp')
-rw-r--r--slobrok/src/apps/check_slobrok/check_slobrok.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/slobrok/src/apps/check_slobrok/check_slobrok.cpp b/slobrok/src/apps/check_slobrok/check_slobrok.cpp
index 8e2a91c100d..9d588eab39f 100644
--- a/slobrok/src/apps/check_slobrok/check_slobrok.cpp
+++ b/slobrok/src/apps/check_slobrok/check_slobrok.cpp
@@ -1,14 +1,12 @@
// 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/log/log.h>
-LOG_SETUP("check_slobrok");
#include <vespa/fnet/frt/frt.h>
-
+#include <vespa/fastos/app.h>
#include <string>
#include <sstream>
+#include <vespa/log/log.h>
+LOG_SETUP("check_slobrok");
class Slobrok_Checker : public FastOS_Application
{
@@ -25,10 +23,9 @@ public:
int usage();
void initRPC(const char *spec);
void finiRPC();
- virtual int Main() override;
+ int Main() override;
};
-
Slobrok_Checker::~Slobrok_Checker()
{
LOG_ASSERT(_supervisor == NULL);