diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 4ecf81cac50..b536bf5b2a7 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -306,7 +306,7 @@ LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text); /* Operations on composite constants */ LLVMValueRef LLVMConstString(const char *Str, unsigned Length, int DontNullTerminate); -LLVMValueRef LLVMConstArray(LLVMTypeRef ArrayTy, +LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length); LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, int packed);