Fix duplicated symbol error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228012 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-02-03 19:25:53 +00:00
parent f4e2998eda
commit f2e11261d4
2 changed files with 3 additions and 3 deletions

View File

@ -518,9 +518,7 @@ lto_codegen_compile_optimized(lto_code_gen_t cg, size_t* length);
* \since LTO_API_VERSION=12
*/
extern unsigned int
lto_api_version() {
return LTO_API_VERSION;
}
lto_api_version();
/**
* Sets options to help debug codegen bugs.

View File

@ -330,3 +330,5 @@ bool lto_codegen_compile_to_file(lto_code_gen_t cg, const char **name) {
void lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) {
unwrap(cg)->setCodeGenDebugOptions(opt);
}
unsigned int lto_api_version() { return LTO_API_VERSION; }