forked from OSchip/llvm-project
Fix function prototype mismatch in LLVMUnionType(). Fixes PR7019.
llvm-svn: 102959
This commit is contained in:
parent
6f2f8d0798
commit
ab09a2cded
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue