diff options
Diffstat (limited to 'build2/test')
-rw-r--r-- | build2/test/module | 20 | ||||
-rw-r--r-- | build2/test/module.cxx | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/build2/test/module b/build2/test/module index b9c3ea5..dacb364 100644 --- a/build2/test/module +++ b/build2/test/module @@ -14,17 +14,17 @@ namespace build2 { namespace test { - extern "C" void - test_boot (scope&, const location&, unique_ptr<module_base>&); + void + boot (scope&, const location&, unique_ptr<module_base>&); - extern "C" bool - test_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/test/module.cxx b/build2/test/module.cxx index c20e274..3b5cf7b 100644 --- a/build2/test/module.cxx +++ b/build2/test/module.cxx @@ -21,8 +21,8 @@ namespace build2 { static rule rule_; - extern "C" void - test_boot (scope& root, const location&, unique_ptr<module_base>&) + void + boot (scope& root, const location&, unique_ptr<module_base>&) { tracer trace ("test::boot"); @@ -49,14 +49,14 @@ namespace build2 } } - extern "C" bool - test_init (scope& root, - scope&, - const location& l, - unique_ptr<module_base>&, - bool first, - bool, - const variable_map& config_hints) + bool + init (scope& root, + scope&, + const location& l, + unique_ptr<module_base>&, + bool first, + bool, + const variable_map& config_hints) { tracer trace ("test::init"); |