summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
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
commitf34cb0cab4c72d45bde4ad3fa5c5574487371c6f (patch)
tree8ffa00fbcf92aa6c7de07da7d492e13c222a4c2f /llvm/include/llvm-c
parent69349a55e71f26d027293204ea8ad8199acae45e (diff)
downloadbcm5719-llvm-f34cb0cab4c72d45bde4ad3fa5c5574487371c6f.tar.gz
bcm5719-llvm-f34cb0cab4c72d45bde4ad3fa5c5574487371c6f.zip
Make sure we specify no arguments for context functions.
llvm-svn: 80525
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index e1a99531b55..40696e0aceb 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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. */
OpenPOWER on IntegriCloud