Fix function prototype mismatch in LLVMUnionType(). Fixes PR7019.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 May 2010 21:36:51 +0000 (21:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 May 2010 21:36:51 +0000 (21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102959 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Core.cpp

index 8c88f5dae243ec0e8d2eac4ac8873c44eb00d7c4..bbf1375ab0c787608ba9da0efa59b77319892d38 100644 (file)
@@ -327,8 +327,7 @@ LLVMTypeRef LLVMUnionTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,
   return wrap(UnionType::get(&Tys[0], Tys.size()));
 }
 
-LLVMTypeRef LLVMUnionType(LLVMTypeRef *ElementTypes,
-                           unsigned ElementCount, int Packed) {
+LLVMTypeRef LLVMUnionType(LLVMTypeRef *ElementTypes, unsigned ElementCount) {
   return LLVMUnionTypeInContext(LLVMGetGlobalContext(), ElementTypes,
                                 ElementCount);
 }