[llvm-commits] [llvm] r80525 - /llvm/trunk/include/llvm-c/Core.h

Erick Tryzelaar idadesub at users.sourceforge.net
Sun Aug 30 16:38:07 PDT 2009


Author: erickt
Date: Sun Aug 30 18:38:06 2009
New Revision: 80525

URL: http://llvm.org/viewvc/llvm-project?rev=80525&view=rev
Log:
Make sure we specify no arguments for context functions.

Modified:
    llvm/trunk/include/llvm-c/Core.h

Modified: llvm/trunk/include/llvm-c/Core.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Core.h?rev=80525&r1=80524&r2=80525&view=diff

==============================================================================
--- llvm/trunk/include/llvm-c/Core.h (original)
+++ llvm/trunk/include/llvm-c/Core.h Sun Aug 30 18:38:06 2009
@@ -208,8 +208,8 @@
 /*===-- Modules -----------------------------------------------------------===*/
 
 /* Create and destroy contexts. */
-LLVMContextRef LLVMContextCreate();
-LLVMContextRef LLVMGetGlobalContext();
+LLVMContextRef LLVMContextCreate(void);
+LLVMContextRef LLVMGetGlobalContext(void);
 void LLVMContextDispose(LLVMContextRef C);
 
 /* Create and destroy modules. */ 





More information about the llvm-commits mailing list