forked from OSchip/llvm-project
Add missing (void) for function declarations in C
This commit is contained in:
parent
261075590b
commit
9f94d63a6a
|
@ -31,7 +31,7 @@ int handleError(LLVMErrorRef Err) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
LLVMOrcThreadSafeModuleRef createDemoModule() {
|
||||
LLVMOrcThreadSafeModuleRef createDemoModule(void) {
|
||||
LLVMOrcThreadSafeContextRef TSCtx = LLVMOrcCreateNewThreadSafeContext();
|
||||
LLVMContextRef Ctx = LLVMOrcThreadSafeContextGetContext(TSCtx);
|
||||
LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx);
|
||||
|
|
|
@ -32,7 +32,7 @@ int handleError(LLVMErrorRef Err) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
LLVMOrcThreadSafeModuleRef createDemoModule() {
|
||||
LLVMOrcThreadSafeModuleRef createDemoModule(void) {
|
||||
LLVMOrcThreadSafeContextRef TSCtx = LLVMOrcCreateNewThreadSafeContext();
|
||||
LLVMContextRef Ctx = LLVMOrcThreadSafeContextGetContext(TSCtx);
|
||||
LLVMModuleRef M = LLVMModuleCreateWithNameInContext("demo", Ctx);
|
||||
|
|
Loading…
Reference in New Issue