Fix function prototype mismatch in LLVMUnionType(). Fixes PR7019.

llvm-svn: 102959
This commit is contained in:
Nick Lewycky 2010-05-03 21:36:51 +00:00
parent ce7a24a57f
commit e92cfd5ebc

View 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);
}