aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cxx')
-rw-r--r--build2/cxx/module16
-rw-r--r--build2/cxx/module.cxx16
2 files changed, 16 insertions, 16 deletions
diff --git a/build2/cxx/module b/build2/cxx/module
index 254eb44..37466ef 100644
--- a/build2/cxx/module
+++ b/build2/cxx/module
@@ -14,14 +14,14 @@ namespace build2
{
namespace cxx
{
- extern "C" bool
- cxx_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/cxx/module.cxx b/build2/cxx/module.cxx
index 7e9b5e2..71304c8 100644
--- a/build2/cxx/module.cxx
+++ b/build2/cxx/module.cxx
@@ -29,14 +29,14 @@ namespace build2
{
namespace cxx
{
- extern "C" bool
- cxx_init (scope& r,
- scope& b,
- const location& loc,
- unique_ptr<module_base>&,
- bool first,
- bool,
- const variable_map& config_hints)
+ bool
+ init (scope& r,
+ scope& b,
+ const location& loc,
+ unique_ptr<module_base>&,
+ bool first,
+ bool,
+ const variable_map& config_hints)
{
tracer trace ("cxx::init");
l5 ([&]{trace << "for " << b.out_path ();});