Fix warning: "function declaration isn’t a prototype"
[oota-llvm.git] / include / llvm-c / lto.h
index 6df6e1716adde1b062499fa70e3042942d079392..1fe0cd5c75d27d6aee047e4d30b90a6501103e6e 100644 (file)
@@ -518,7 +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();
+lto_api_version(void);
 
 /**
  * Sets options to help debug codegen bugs.