1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Mark zero-argument functions explicitly in C headers.

Pacifies GCC's -Wstrict-prototypes.

llvm-svn: 193249
This commit is contained in:
Benjamin Kramer 2013-10-23 16:57:34 +00:00
parent 9e76cf1f6a
commit f5cb3d57a5

View File

@ -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);
/**
* @}