diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-23 16:57:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-23 16:57:34 +0000 |
commit | 325ec89508dfae7af1f4eb48ab8fa034c763abf2 (patch) | |
tree | 96ddbeaa516d9177114c4eb373b853382dec4a8b /llvm/include/llvm-c | |
parent | e4865d28364da404013c49f4518cd7ba051a6b08 (diff) | |
download | bcm5719-llvm-325ec89508dfae7af1f4eb48ab8fa034c763abf2.tar.gz bcm5719-llvm-325ec89508dfae7af1f4eb48ab8fa034c763abf2.zip |
Mark zero-argument functions explicitly in C headers.
Pacifies GCC's -Wstrict-prototypes.
llvm-svn: 193249
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index a48ea7e7457..cdaade368b1 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -408,7 +408,7 @@ void LLVMInitializeCore(LLVMPassRegistryRef R); /** Deallocate and destroy all ManagedStatic variables. @see llvm::llvm_shutdown @see ManagedStatic */ -void LLVMShutdown(); +void LLVMShutdown(void); /*===-- Error handling ----------------------------------------------------===*/ @@ -2748,16 +2748,16 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM); initialization succeeded. Must be executed in isolation from all other LLVM api calls. @see llvm::llvm_start_multithreaded */ -LLVMBool LLVMStartMultithreaded(); +LLVMBool LLVMStartMultithreaded(void); /** Deallocate structures necessary to make LLVM safe for multithreading. Must be executed in isolation from all other LLVM api calls. @see llvm::llvm_stop_multithreaded */ -void LLVMStopMultithreaded(); +void LLVMStopMultithreaded(void); /** Check whether LLVM is executing in thread-safe mode or not. @see llvm::llvm_is_multithreaded */ -LLVMBool LLVMIsMultithreaded(); +LLVMBool LLVMIsMultithreaded(void); /** * @} |