From cb166aea24aff734f520f78c896255ec432f7f4e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 25 Feb 2020 13:15:29 -0800 Subject: [PATCH] intel/tools: Do not print type/qualifiers/name for c_literal External tools may wish to choose their own type, qualifiers, and name, so do not emit our own. Tested-by: Marge Bot Part-of: --- src/intel/tools/i965_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/i965_asm.c b/src/intel/tools/i965_asm.c index 9fb0cdce0cc..1e6e0904b50 100644 --- a/src/intel/tools/i965_asm.c +++ b/src/intel/tools/i965_asm.c @@ -239,7 +239,7 @@ int main(int argc, char **argv) } if (output_type == OPT_OUTPUT_C_LITERAL) - fprintf(output, "static const char gen_eu_bytes[] = {\n"); + fprintf(output, "{\n"); brw_validate_instructions(p->devinfo, p->store, 0, p->next_insn_offset, disasm_info); -- 2.30.2