aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index 222cfba5c4..1915acbdae 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -205,8 +205,8 @@ bool lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod) {
}
// @LOCALMOD-BEGIN
-bool lto_codegen_gather_module_for_link(lto_code_gen_t cg, lto_module_t mod) {
- return cg->gatherModuleForLinking(mod);
+void lto_codegen_gather_module_for_link(lto_code_gen_t cg, lto_module_t mod) {
+ cg->gatherModuleForLinking(mod);
}
bool lto_codegen_link_gathered_modules_and_dispose(lto_code_gen_t cg) {