aboutsummaryrefslogtreecommitdiff
path: root/build2/cli
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cli')
-rw-r--r--build2/cli/module16
-rw-r--r--build2/cli/module.cxx16
2 files changed, 16 insertions, 16 deletions
diff --git a/build2/cli/module b/build2/cli/module
index f55e03c..50d07ef 100644
--- a/build2/cli/module
+++ b/build2/cli/module
@@ -14,14 +14,14 @@ namespace build2
{
namespace cli
{
- extern "C" bool
- cli_init (scope&,
- scope&,
- const location&,
- unique_ptr<module_base>&,
- bool,
- bool,
- const variable_map&);
+ bool
+ init (scope&,
+ scope&,
+ const location&,
+ unique_ptr<module_base>&,
+ bool,
+ bool,
+ const variable_map&);
}
}
diff --git a/build2/cli/module.cxx b/build2/cli/module.cxx
index 13325d9..01d606f 100644
--- a/build2/cli/module.cxx
+++ b/build2/cli/module.cxx
@@ -25,14 +25,14 @@ namespace build2
{
static compile compile_;
- extern "C" bool
- cli_init (scope& root,
- scope& base,
- const location& loc,
- unique_ptr<module_base>&,
- bool first,
- bool optional,
- const variable_map& config_hints)
+ bool
+ init (scope& root,
+ scope& base,
+ const location& loc,
+ unique_ptr<module_base>&,
+ bool first,
+ bool optional,
+ const variable_map& config_hints)
{
tracer trace ("cli::init");
l5 ([&]{trace << "for " << base.out_path ();});