From de9c2312ea1c871d8ad7841cc2ef8b1550e53d35 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 3 Feb 2022 11:27:50 +0200 Subject: [PATCH] intel/clc: compile fix Fixes: c15bf88f011d ("intel: Add a little OpenCL C compiler binary") Reviewed-by: Jason Ekstrand Part-of: --- src/intel/compiler/intel_clc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/intel_clc.c b/src/intel/compiler/intel_clc.c index 3afff68f4f9..7531cd1fbc8 100644 --- a/src/intel/compiler/intel_clc.c +++ b/src/intel/compiler/intel_clc.c @@ -109,7 +109,7 @@ print_u32_data(FILE *fp, const char *prefix, const char *arr_name, fprintf(fp, "\n};\n"); } -const char * +static const char * reloc_type_str(enum brw_shader_reloc_type type) { switch (type) {