diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-30 00:17:46 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-30 00:17:46 +0200 |
commit | ac40360439b406d700c417076ec169f509468269 (patch) | |
tree | 5f41d4445fc398aa360810de0df9ee3a8c8a7aa2 /slobrok/src/apps | |
parent | b5434960947f06f914569324d0b5e803eb7d4eef (diff) |
Reduce exposure of fastos.h and frt.h.
Only include what you need where you need it.
Diffstat (limited to 'slobrok/src/apps')
-rw-r--r-- | slobrok/src/apps/check_slobrok/check_slobrok.cpp | 6 | ||||
-rw-r--r-- | slobrok/src/apps/sbcmd/sbcmd.cpp | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/slobrok/src/apps/check_slobrok/check_slobrok.cpp b/slobrok/src/apps/check_slobrok/check_slobrok.cpp index 9d588eab39f..f2b6fa0e71b 100644 --- a/slobrok/src/apps/check_slobrok/check_slobrok.cpp +++ b/slobrok/src/apps/check_slobrok/check_slobrok.cpp @@ -1,8 +1,10 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fnet/frt/frt.h> #include <vespa/fastos/app.h> -#include <string> +#include <vespa/fnet/frt/supervisor.h> +#include <vespa/fnet/frt/target.h> +#include <vespa/fnet/frt/rpcrequest.h> + #include <sstream> #include <vespa/log/log.h> diff --git a/slobrok/src/apps/sbcmd/sbcmd.cpp b/slobrok/src/apps/sbcmd/sbcmd.cpp index a96c4609137..927fab6ebff 100644 --- a/slobrok/src/apps/sbcmd/sbcmd.cpp +++ b/slobrok/src/apps/sbcmd/sbcmd.cpp @@ -1,8 +1,9 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fnet/frt/frt.h> #include <vespa/fastos/app.h> -#include <string> +#include <vespa/fnet/frt/supervisor.h> +#include <vespa/fnet/frt/target.h> +#include <vespa/fnet/frt/rpcrequest.h> #include <sstream> #include <vespa/log/log.h> |