aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/Core.h
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-30 23:38:06 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-30 23:38:06 +0000
commitad465d7013a6ec529a34605d51377202af71b418 (patch)
tree0a81f4802387e28b863c606b32b6afec406dcc2b /include/llvm-c/Core.h
parentba263e5f1b2320558e3935bbfbdc10c6d581c19d (diff)
downloadexternal_llvm-ad465d7013a6ec529a34605d51377202af71b418.zip
external_llvm-ad465d7013a6ec529a34605d51377202af71b418.tar.gz
external_llvm-ad465d7013a6ec529a34605d51377202af71b418.tar.bz2
Make sure we specify no arguments for context functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/Core.h')
-rw-r--r--include/llvm-c/Core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index e1a9953..40696e0 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -208,8 +208,8 @@ void LLVMDisposeMessage(char *Message);
/*===-- Modules -----------------------------------------------------------===*/
/* Create and destroy contexts. */
-LLVMContextRef LLVMContextCreate();
-LLVMContextRef LLVMGetGlobalContext();
+LLVMContextRef LLVMContextCreate(void);
+LLVMContextRef LLVMGetGlobalContext(void);
void LLVMContextDispose(LLVMContextRef C);
/* Create and destroy modules. */