Remove a warning introduced in r262977
From: Mehdi Amini <mehdi.amini@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262990
91177308-0d34-0410-b5e6-
96231b3b80d8
*
* \since LTO_API_VERSION=18
*/
-extern thinlto_code_gen_t thinlto_create_codegen();
+extern thinlto_code_gen_t thinlto_create_codegen(void);
/**
* Frees the generator and all memory it internally allocated.
// ThinLTO API below
-thinlto_code_gen_t thinlto_create_codegen() {
+thinlto_code_gen_t thinlto_create_codegen(void) {
lto_initialize();
ThinLTOCodeGenerator *CodeGen = new ThinLTOCodeGenerator();
CodeGen->setTargetOptions(InitTargetOptionsFromCodeGenFlags());