llvm.org GIT mirror llvm / 30cb0a3
[llvm-c] Make LLVMGetStringErrorTypeId a proper prototype In C a function declaration with an empty argument list isn't a real prototype, it will allow calling the function with any number of arguments. It will also cause warnings when used in C code compiled with '-Wstrict-prototypes' Reviewed By: whitequark Differential Revision: https://reviews.llvm.org/D61568 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360012 91177308-0d34-0410-b5e6-96231b3b80d8 Anders Waldenborg 3 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5959 /**
6060 * Returns the type id for llvm StringError.
6161 */
62 LLVMErrorTypeId LLVMGetStringErrorTypeId();
62 LLVMErrorTypeId LLVMGetStringErrorTypeId(void);
6363
6464 #ifdef __cplusplus
6565 }