Francois Gouget : d3dcompiler_43: Make free_function{_decl}() static.

Alexandre Julliard julliard at winehq.org
Mon Oct 15 14:29:07 CDT 2012


Module: wine
Branch: master
Commit: 25c465269c09507172d94ae7ba41e1d08a1d826e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=25c465269c09507172d94ae7ba41e1d08a1d826e

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Oct 15 17:24:25 2012 +0200

d3dcompiler_43: Make free_function{_decl}() static.

---

 dlls/d3dcompiler_43/utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index 830965d..6d174f6 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -2468,7 +2468,7 @@ void free_instr(struct hlsl_ir_node *node)
     }
 }
 
-void free_function_decl(struct hlsl_ir_function_decl *func)
+static void free_function_decl(struct hlsl_ir_function_decl *func)
 {
     d3dcompiler_free((void *)func->semantic);
     d3dcompiler_free(func->parameters);
@@ -2481,7 +2481,7 @@ static void free_function_decl_rb(struct wine_rb_entry *entry, void *context)
     free_function_decl(WINE_RB_ENTRY_VALUE(entry, struct hlsl_ir_function_decl, entry));
 }
 
-void free_function(struct hlsl_ir_function *func)
+static void free_function(struct hlsl_ir_function *func)
 {
     wine_rb_destroy(&func->overloads, free_function_decl_rb, NULL);
     d3dcompiler_free((void *)func->name);




More information about the wine-cvs mailing list