aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-21 15:38:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-21 15:38:28 +0200
commit91734f1772aeca9795040d2db03b4f29051fa922 (patch)
tree410fcab8d47a58ea57ce3f27d91c9ea7ede44a9b /libbuild2/target.hxx
parentd64ae97f6865bc25d496485622530e2a090c2eb4 (diff)
Cleanup context.hxx and its usage
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 6d320d4..4bd11fe 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -16,6 +16,7 @@
#include <libbuild2/scope.hxx>
#include <libbuild2/action.hxx>
+#include <libbuild2/context.hxx>
#include <libbuild2/variable.hxx>
#include <libbuild2/target-key.hxx>
#include <libbuild2/target-type.hxx>
@@ -27,13 +28,8 @@
namespace build2
{
class rule;
- class scope;
class target;
- // From <libbuild2/context.hxx>.
- //
- LIBBUILD2_SYMEXPORT extern size_t current_on;
-
// From <libbuild2/algorithm.hxx>.
//
LIBBUILD2_SYMEXPORT const target&