summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-10-23 16:57:34 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-10-23 16:57:34 +0000
commitf39fe46062d2093fc3d7c092bc8c4561b744164c (patch)
tree17c68852a34c0d0ad421b6354f55f2c236f3c3e5 /include/llvm-c
parent0082717cb537e2d1424f755a49510fa9f9e67071 (diff)
downloadllvm-f39fe46062d2093fc3d7c092bc8c4561b744164c.tar.gz
llvm-f39fe46062d2093fc3d7c092bc8c4561b744164c.tar.bz2
llvm-f39fe46062d2093fc3d7c092bc8c4561b744164c.tar.xz
Mark zero-argument functions explicitly in C headers.
Pacifies GCC's -Wstrict-prototypes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index a48ea7e745..cdaade368b 100644
--- a/include/llvm-c/Core.h
+++ b/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);
/**
* @}