From c903dad915cd21697692b00c69c8424438d0da15 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 12 Sep 2020 00:50:17 -0700 Subject: [PATCH] fix zig_llvm.h not complying with C --- src/zig_llvm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zig_llvm.h b/src/zig_llvm.h index f07684f2a4..13c4de0535 100644 --- a/src/zig_llvm.h +++ b/src/zig_llvm.h @@ -59,8 +59,8 @@ enum ZigLLVMABIType { }; ZIG_EXTERN_C LLVMTargetMachineRef ZigLLVMCreateTargetMachine(LLVMTargetRef T, const char *Triple, - const char *CPU, const char *Features, LLVMCodeGenOptLevel Level, LLVMRelocMode Reloc, - LLVMCodeModel CodeModel, bool function_sections, ZigLLVMABIType float_abi, const char *abi_name); + const char *CPU, const char *Features, enum LLVMCodeGenOptLevel Level, enum LLVMRelocMode Reloc, + enum LLVMCodeModel CodeModel, bool function_sections, enum ZigLLVMABIType float_abi, const char *abi_name); ZIG_EXTERN_C LLVMTypeRef ZigLLVMTokenTypeInContext(LLVMContextRef context_ref);