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