[PATCH 3/5] d3dcompiler: Rename "func" to "decl" in free_function_decl().
Henri Verbeet
hverbeet at codeweavers.com
Thu Apr 30 09:46:39 CDT 2015
Mostly just for consistency with other uses of struct hlsl_ir_function_decl.
---
dlls/d3dcompiler_43/utils.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index 2d88975..83f815f 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -2445,12 +2445,12 @@ void free_instr(struct hlsl_ir_node *node)
}
}
-static void free_function_decl(struct hlsl_ir_function_decl *func)
+static void free_function_decl(struct hlsl_ir_function_decl *decl)
{
- d3dcompiler_free((void *)func->semantic);
- d3dcompiler_free(func->parameters);
- free_instr_list(func->body);
- d3dcompiler_free(func);
+ d3dcompiler_free((void *)decl->semantic);
+ d3dcompiler_free(decl->parameters);
+ free_instr_list(decl->body);
+ d3dcompiler_free(decl);
}
static void free_function_decl_rb(struct wine_rb_entry *entry, void *context)
--
1.7.10.4
More information about the wine-patches
mailing list