summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-29 23:27:32 +0000
committerChris Lattner <sabre@nondot.org>2010-04-29 23:27:32 +0000
commit9d186478c09a2ebe0260467268d7a3a97a7fc283 (patch)
tree7844d70a678894cda6571ef9c5cf8df9e71382aa /llvm/include/llvm-c
parent35cd68c88870281a0493742882ddbab0ff6fcc61 (diff)
downloadbcm5719-llvm-9d186478c09a2ebe0260467268d7a3a97a7fc283.tar.gz
bcm5719-llvm-9d186478c09a2ebe0260467268d7a3a97a7fc283.zip
add some more (void)'s to prototypes for PR6961
llvm-svn: 102667
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm-c/Target.h b/llvm/include/llvm-c/Target.h
index 2e952a3530c..2948fc76f19 100644
--- a/llvm/include/llvm-c/Target.h
+++ b/llvm/include/llvm-c/Target.h
@@ -43,7 +43,7 @@ typedef struct LLVMStructLayout *LLVMStructLayoutRef;
/** LLVMInitializeAllTargetInfos - The main program should call this function if
it wants access to all available targets that LLVM is configured to
support. */
-static inline void LLVMInitializeAllTargetInfos() {
+static inline void LLVMInitializeAllTargetInfos(void) {
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
#include "llvm/Config/Targets.def"
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
@@ -52,7 +52,7 @@ static inline void LLVMInitializeAllTargetInfos() {
/** LLVMInitializeAllTargets - The main program should call this function if it
wants to link in all available targets that LLVM is configured to
support. */
-static inline void LLVMInitializeAllTargets() {
+static inline void LLVMInitializeAllTargets(void) {
#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##Target();
#include "llvm/Config/Targets.def"
#undef LLVM_TARGET /* Explicit undef to make SWIG happier */
@@ -61,7 +61,7 @@ static inline void LLVMInitializeAllTargets() {
/** LLVMInitializeNativeTarget - The main program should call this function to
initialize the native target corresponding to the host. This is useful
for JIT applications to ensure that the target gets linked in correctly. */
-static inline LLVMBool LLVMInitializeNativeTarget() {
+static inline LLVMBool LLVMInitializeNativeTarget(void) {
/* If we have a native target, initialize it to ensure it is linked in. */
#ifdef LLVM_NATIVE_ARCH
#define DoInit2(TARG) \
OpenPOWER on IntegriCloud